Function at 0x10034a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083d48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x20]
mov dword [edi + 0x30], 0xcaa1002d
push eax
call fcn.10034e50
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.10053b20
push 0
push 0x10089fac
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 1
call fcn.10008e20
push dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.10028ed0
push str.RefreshTokenRequest::AcquireToken:_Set_request_header_with_client_TLS._n
push edi
mov byte [ebp - 4], 2
call fcn.10033a50
add esp, 0x10
lea ecx, [ebp - 0x24]
push dword [0x10089680]
call fcn.10007930
push dword [0x1008967c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10007930
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.100431f0
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034ad3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034af1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.RefreshTokenRequest::AcquireToken:Processing_token_request._n
push edi
call fcn.10033a50
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002dc20
mov byte [ebp - 0xe], al
test al, al
jne 0x10034df8
mov ecx, dword [edi + 0x44]
cmp dword [ecx - 0xc], 0
jne 0x10034b44
push 0xcaa90004
push edi
call fcn.10033ba0
add esp, 8
push str.Refresh_token_request_is_failed
push edi
call fcn.10033a50
jmp 0x10034e03
push 0x4aa90030
push edi
call fcn.100336a0
mov eax, dword [edi + 0x44]
sub eax, 0x10
push eax
call fcn.10008330
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
push esi
push str.Challenge_info:_s_n
push edi
mov byte [ebp - 4], 5
call fcn.10033a60
add esp, 0x18
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10034b8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 0xd], 0
push eax
call fcn.10008330
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0x44]
sub eax, 0x10
push eax
call fcn.10008330
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x30]
mov ecx, dword [edi + 0x60]
mov byte [ebp - 4], 2
push eax
call fcn.1000eef0
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 7
jne 0x10034bfa
push str.RefreshTokenRequest::AcquireToken__:_Device_Certificate_Not_Found__not_sending_AuthToken_in_PKeyAuth_Challenge_Response.
push edi
call fcn.10033a50
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.100328c0
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034c25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x10034d94
push ecx
push esp
lea ecx, [ebp - 0x30]
call fcn.100328c0
push str.Sending_response_headers:__s__n
push edi
call fcn.1000e030
push 0x4aa90035
push edi
call fcn.100336a0
push dword [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.10028ed0
add esp, 0x1c
push dword [0x10089680]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.10007930
push dword [0x1008967c]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.10007930
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push eax
call fcn.100431f0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034cb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034cd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x10089688]
lea ecx, [ebp - 0x28]
call fcn.10007930
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x30]
call fcn.100328c0
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.100431f0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034d1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034d3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002dc20
mov byte [ebp - 0xe], al
test al, al
jne 0x10034d85
push 0xcaa90004
push edi
call fcn.10033ba0
add esp, 8
cmp byte [ebp - 0xd], 0
jne 0x10034d85
push dword [0x100896b8]
lea esi, [edi + 0x34]
mov ecx, esi
call fcn.1002d530
push esi
call fcn.1002d6c0
add esp, 4
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10034dad
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x10034dad
push str.Challenge_Response_Authorization_header_value_returned_empty.
push edi
call fcn.10033a50
push 0xcaa90032
push edi
call fcn.100333e0
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034dcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034de5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xe], 0
jne 0x10034df8
push str.Refresh_token_request_is_failed
push edi
call fcn.10033a50
jmp 0x10034e03
push 0x4aa9000a
push edi
call fcn.100336a0
mov ecx, dword [ebp - 0x1c]
add esp, 8
test ecx, ecx
je 0x10034e13
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10034e2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.10007c70
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret