Function at 0x409690
Capabilities:
Initialize winhttp library
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4530d4
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x46a524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Authorization:bearer
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 1
call fcn.00401130
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x46c940
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.004025f0
mov dword [ebp - 0x30], ebx
push 8
mov byte [ebp - 4], 3
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a770
mov dword [ebp - 0x30], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x30]
mov dword [ecx], eax
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0xc8]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0xc8], ebx
push 8
mov byte [ebp - 4], 5
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a73d
mov dword [ebp - 0xc8], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc8]
mov dword [ecx], eax
mov byte [ebp - 4], 6
push 0x13
push str.graph.microsoft.com
mov ecx, eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
call fcn.00401430
mov dword [ebp - 0xa4], ebx
push 8
mov byte [ebp - 4], 8
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a70a
mov dword [ebp - 0xa4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa4]
mov dword [eax], edx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 9
push ecx
mov ecx, edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.004015e0
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
jb 0x409810
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc8], ebx
je 0x40986c
push 3
lea ecx, [ebp - 0x1ec]
call fcn.0041e6c0
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 4], ebx
je 0x409858
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x409846
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1ec]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0xc8]
push eax
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xc8], ebx
push ebx
push ebx
push ebx
push ebx
push str.OneDriveTools
mov byte [ebp - 4], 0xb
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x84], eax
cmp eax, ebx
je 0x4098c0
push 4
lea ecx, [ebp - 0x1bc]
push ecx
push 0x54
push eax
mov dword [ebp - 0x1bc], 0xa00
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x90]
cmp ecx, ebx
je 0x409a49
cmp eax, ebx
je 0x409a49
lea eax, [ecx + ecx - 2]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e730
add esp, 4
mov edi, eax
push ebx
lea eax, [ebp - 0xe8]
push 0x1bb
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0xe8], ebx
push 8
mov byte [ebp - 4], 0xc
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a0c1
mov dword [ebp - 0xe8], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
mov dword [edx], ecx
push 0xffffffffffffffff
mov byte [ebp - 4], 0xd
push ebx
lea eax, [ebp - 0xa4]
mov esi, 0xf
push eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
call fcn.004015e0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe4]
inc eax
cmp dword [ebp - 0xd0], 0x10
mov dword [ebp - 0x1bc], ebx
jae 0x40998a
lea ecx, [ebp - 0xe4]
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x1bc]
push edi
push ecx
call fcn.00426f80
add esp, 0x14
cmp dword [ebp - 0xd0], 0x10
jb 0x4099b6
mov edx, dword [ebp - 0xe4]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xe8], ebx
je 0x409a16
push 3
lea ecx, [ebp - 0x1e0]
call fcn.0041e6c0
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 4], ebx
je 0x409a02
lea esp, [esp]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x4099f0
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x1e0]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004205e0
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x84]
push edi
push ecx
mov dword [ebp - 0xe8], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push edi
mov dword [ebp - 0x80], eax
call fcn.004207e0
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
jae 0x409a58
lea eax, [ebp - 0x2c]
push 0x14
push str._v1.0_me_drive_root:
lea ecx, [ebp - 0x30]
mov byte [eax], bl
call fcn.00404cb0
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x30]
call fcn.004025f0
push 9
push str.:_content
lea ecx, [ebp - 0x30]
call fcn.00404cb0
sub esp, 0x20
mov edi, esp
mov dword [ebp - 0x1bc], esp
mov dword [ebp - 0x1b8], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 0xf
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a6d7
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [edi]
mov dword [eax], edi
push 0xffffffffffffffff
mov byte [ebp - 4], 0x10
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004015e0
sub esp, 0x20
mov edi, esp
mov dword [ebp - 0x1b8], esp
mov dword [ebp - 0x1b8], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 0x12
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a6a4
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [edi]
mov dword [edx], edi
mov byte [ebp - 4], 0x13
push 3
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push 0x464fe4
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00401430
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xb
call fcn.00401c70
mov dword [ebp - 0x70], ebx
push 8
mov byte [ebp - 4], 0x14
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a671
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x70]
mov dword [ecx], eax
mov dword [ebp - 0x58], esi
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x108]
mov byte [ebp - 4], 0x15
push edx
mov ecx, eax
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call fcn.004025f0
push 2
push 0x465068
lea ecx, [ebp - 0x70]
call fcn.00404cb0
sub esp, 0x20
mov edi, esp
mov dword [ebp - 0x1b8], esp
mov dword [ebp - 0x1b8], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 0x16
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a63e
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [edi]
mov dword [eax], edi
push 0xffffffffffffffff
mov byte [ebp - 4], 0x17
push ebx
lea ecx, [ebp - 0x70]
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004015e0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
call fcn.00401f50
cmp dword [ebp - 0x84], ebx
je 0x409c15
cmp dword [ebp - 0x80], ebx
je 0x409c15
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x409c24
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x409c24
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x50], ebx
push 8
mov byte [ebp - 4], 0x18
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40a60b
mov dword [ebp - 0x50], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x50]
mov dword [eax], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea ecx, [ebp - 0xa4]
push ecx
mov edi, edx
mov byte [ebp - 4], 0x19
call fcn.00402070
lea ecx, [ebp - 0x1b0]
call fcn.004180d0
push ebx
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00410fb0
push 1
lea edx, [ebp - 0x1d0]
push edx
mov eax, edi
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x1b
call fcn.00418190
test al, al
je 0x40a3ca
push str.error
lea ecx, [ebp - 0x1d0]
call fcn.00412300
mov ecx, eax
call fcn.004126e0
test al, al
jne 0x40a22d
push str.InvalidAuthenticationToken
lea ecx, [ebp - 0x118]
call fcn.00411270
lea ecx, [ebp - 0x118]
push ecx
push str.code
push str.error
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1c
call fcn.00412300
mov ecx, eax
call fcn.00412300
mov ecx, eax
call fcn.00411b70
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x1b1], al
mov byte [ebp - 4], 0x1b
call fcn.00411790
cmp byte [ebp - 0x1b1], bl
je 0x40a0f4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
jae 0x409d35
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xc8]
push edx
mov byte [eax], bl
call fcn.00408190
add esp, 4
mov edi, eax
lea eax, [ebp - 0x30]
cmp eax, edi
je 0x409da2
cmp dword [ebp - 0x18], 0x10
jb 0x409d61
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [edi + 0x18], 0x10
jae 0x409d87
mov eax, dword [edi + 0x14]
inc eax
push eax
lea edx, [edi + 4]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00420020
add esp, 0xc
jmp 0x409d90
mov ecx, dword [edi + 4]
mov dword [ebp - 0x2c], ecx
mov dword [edi + 4], ebx
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
cmp dword [ebp - 0xb0], 0x10
jb 0x409dba
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xc8], ebx
je 0x409e16
push 3
lea ecx, [ebp - 0x1e8]
call fcn.0041e6c0
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 4], ebx
je 0x409e02
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x409df0
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1e8]
mov dword [eax + 4], ebx
call fcn.0041e700
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.004205e0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x104]
add esp, 4
cmp dword [ebp - 0xf0], 0x10
mov dword [ebp - 0xf4], ebx
jae 0x409e44
lea eax, [ebp - 0x104]
push 0x15
push str.Authorization:bearer
lea ecx, [ebp - 0x108]
mov byte [eax], bl
call fcn.00404cb0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x108]
call fcn.004025f0
mov eax, dword [ebp - 0x7c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp eax, ebx
je 0x409e7a
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x409e84
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x409e91
push eax
call edi
cmp dword [ebp - 0x8c], 0x10
jb 0x409ea9
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0xa4], ebx
je 0x409f06
push 3
lea ecx, [ebp - 0x1f0]
call fcn.0041e6c0
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 4], ebx
je 0x409ef2
nop
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x409ee0
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x1f0]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 4], 0x1a
call fcn.00411790
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c60
cmp dword [ebp - 0x38], 0x10
jb 0x409f4b
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x50], ebx
je 0x409f95
push 3
lea ecx, [ebp - 0x1f8]
call fcn.0041e6c0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 4], ebx
je 0x409f84
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x409f72
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1f8]
mov dword [eax + 4], ebx
call fcn.0041e700
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004205e0
add esp, 4
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x50], ebx
jb 0x409fb6
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x70], ebx
je 0x40a003
push 3
lea ecx, [ebp - 0x200]
call fcn.0041e6c0
mov eax, dword [ebp - 0x70]
cmp dword [eax + 4], ebx
je 0x409ff2
lea ecx, [ecx]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x409fe0
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x200]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0x70]
push eax
call fcn.004205e0
mov eax, dword [ebp - 0x7c]
add esp, 4
mov dword [ebp - 0x70], ebx
cmp eax, ebx
je 0x40a01c
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x40a026
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x40a033
push eax
call edi
cmp dword [ebp - 0x8c], 0x10
jb 0x40a04b
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0xa4], ebx
je 0x40a0a7
push 3
lea ecx, [ebp - 0x208]
call fcn.0041e6c0
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 4], ebx
je 0x40a093
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x40a081
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x208]
mov dword [eax + 4], ebx
call fcn.0041e700
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xa4], ebx
jmp 0x409733
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x210], ebx
call fcn.0041fd70
push 0x467b98
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00411790
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c60
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a12c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00401380
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x58], edi
jb 0x40a152
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205e0
add esp, 4
mov edi, 0xf
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call fcn.00401380
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00401b90
mov esi, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], esi
jb 0x40a191
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401380
mov byte [ebp - 4], 1
cmp dword [ebp - 0xf0], esi
jb 0x40a1bd
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
call fcn.00401380
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], esi
jb 0x40a1ee
mov edx, dword [ebp + 0xc]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
call fcn.00401380
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x40], esi
jb 0x40a217
mov eax, dword [ebp + 0x2c]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x2c], bl
call fcn.00401380
jmp 0x40a3ae
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00411790
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c60
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a265
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00401380
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x58], edi
jb 0x40a28b
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call fcn.00401380
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp eax, ebx
je 0x40a2b0
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x40a2ba
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x40a2c7
push eax
call edi
mov edi, 0x10
cmp dword [ebp - 0x8c], edi
jb 0x40a2e3
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.00401380
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0x40a315
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401380
mov byte [ebp - 4], 1
cmp dword [ebp - 0xf0], edi
jb 0x40a341
mov edx, dword [ebp - 0x104]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
call fcn.00401380
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], edi
jb 0x40a372
mov eax, dword [ebp + 0xc]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
call fcn.00401380
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x40], edi
jb 0x40a39b
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x2c], bl
call fcn.00401380
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fd30
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x3c], ebx
jne 0x40a48f
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00411790
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c60
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a40b
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00401380
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x58], edi
jb 0x40a431
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call fcn.00401380
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00401b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00401210
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.00401210
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401210
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
jmp 0x40a3ac
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00402380
sub esp, 0x20
mov byte [ebp - 4], 0x23
lea edx, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push edx
call fcn.00402380
lea eax, [ebp - 0x128]
push eax
call fcn.00407aa0
add esp, 0x24
lea ecx, [ebp - 0x328]
push ecx
mov byte [ebp - 4], 0x24
call fcn.0040cb20
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x110], 8
mov eax, dword [ebp - 0x124]
jae 0x40a4ee
lea eax, [ebp - 0x124]
push eax
lea ebx, [ebp - 0x328]
call fcn.0040e770
mov edx, dword [ebp - 0x328]
mov eax, dword [edx + 4]
cmp dword [ebp + eax - 0x31c], 0
jne 0x40a543
cmp dword [ebp - 0xd0], 0x10
mov eax, dword [ebp - 0xe4]
jae 0x40a522
lea eax, [ebp - 0xe4]
mov ecx, dword [ebp - 0xd4]
push 0
push ecx
push eax
lea edx, [ebp - 0x328]
push edx
call fcn.0040c3b0
lea edi, [ebp - 0x328]
call fcn.0040cca0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x24
call fcn.0040cbf0
lea eax, [ebp - 0x2c8]
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.0041ec20
add esp, 4
lea esi, [ebp - 0x128]
mov byte [ebp - 4], 0x23
call fcn.004024f0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1b
call fcn.00401210
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00411790
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c60
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call fcn.00401210
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.00401210
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00401b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00401210
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.00401210
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00401210
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
mov al, 1
jmp 0x40a3ae
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x20c], ebx
call fcn.0041fd70
push 0x467b98
lea edx, [ebp - 0x280]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1d4], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea edx, [ebp - 0x1f4]
push edx
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x1f4], ebx
call fcn.0041fd70
push 0x467b98
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x1d8], ebx
call fcn.0041fd70
push 0x467b98
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x1dc], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x204], ebx
call fcn.0041fd70
push 0x467b98
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x1e4], ebx
call fcn.0041fd70
push 0x467b98
lea edx, [ebp - 0x244]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1fc], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x25c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
int3