Function at 0x4096a0
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a780
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a74d
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a71a
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 0x409820
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004205f0
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 0x40987c
push 3
lea ecx, [ebp - 0x1ec]
call fcn.0041e6d0
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 4], ebx
je 0x409868
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 0x409856
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1ec]
mov dword [edx + 4], ebx
call fcn.0041e710
mov eax, dword [ebp - 0xc8]
push eax
call fcn.004205f0
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 0x4098d0
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 0x409a59
cmp eax, ebx
je 0x409a59
lea eax, [ecx + ecx - 2]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e740
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a0d1
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 0x40999a
lea ecx, [ebp - 0xe4]
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x1bc]
push edi
push ecx
call fcn.00426fa0
add esp, 0x14
cmp dword [ebp - 0xd0], 0x10
jb 0x4099c6
mov edx, dword [ebp - 0xe4]
push edx
call fcn.004205f0
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 0x409a26
push 3
lea ecx, [ebp - 0x1e0]
call fcn.0041e6d0
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 4], ebx
je 0x409a12
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 0x409a00
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x1e0]
mov dword [edx + 4], ebx
call fcn.0041e710
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004205f0
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.004207f0
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
jae 0x409a68
lea eax, [ebp - 0x2c]
push 0x14
push str._v1.0_me_drive_root:
lea ecx, [ebp - 0x30]
mov byte [eax], bl
call fcn.00404cc0
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.00404cc0
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a6e7
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a6b4
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 0x464fec
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a681
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 0x465070
lea ecx, [ebp - 0x70]
call fcn.00404cc0
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a64e
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 0x409c25
cmp dword [ebp - 0x80], ebx
je 0x409c25
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x409c34
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 0x409c34
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.00420770
add esp, 4
cmp eax, ebx
je 0x40a61b
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.004180e0
push ebx
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.00410fc0
push 1
lea edx, [ebp - 0x1d0]
push edx
mov eax, edi
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x1b
call fcn.004181a0
test al, al
je 0x40a3da
push str.error
lea ecx, [ebp - 0x1d0]
call fcn.00412310
mov ecx, eax
call fcn.004126f0
test al, al
jne 0x40a23d
push str.InvalidAuthenticationToken
lea ecx, [ebp - 0x118]
call fcn.00411280
lea ecx, [ebp - 0x118]
push ecx
push str.code
push str.error
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1c
call fcn.00412310
mov ecx, eax
call fcn.00412310
mov ecx, eax
call fcn.00411b80
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x1b1], al
mov byte [ebp - 4], 0x1b
call fcn.004117a0
cmp byte [ebp - 0x1b1], bl
je 0x40a104
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
jae 0x409d45
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xc8]
push edx
mov byte [eax], bl
call fcn.004081a0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x30]
cmp eax, edi
je 0x409db2
cmp dword [ebp - 0x18], 0x10
jb 0x409d71
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004205f0
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [edi + 0x18], 0x10
jae 0x409d97
mov eax, dword [edi + 0x14]
inc eax
push eax
lea edx, [edi + 4]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00420030
add esp, 0xc
jmp 0x409da0
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 0x409dca
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.004205f0
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 0x409e26
push 3
lea ecx, [ebp - 0x1e8]
call fcn.0041e6d0
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 4], ebx
je 0x409e12
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 0x409e00
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1e8]
mov dword [eax + 4], ebx
call fcn.0041e710
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.004205f0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x104]
add esp, 4
cmp dword [ebp - 0xf0], 0x10
mov dword [ebp - 0xf4], ebx
jae 0x409e54
lea eax, [ebp - 0x104]
push 0x15
push str.Authorization:bearer
lea ecx, [ebp - 0x108]
mov byte [eax], bl
call fcn.00404cc0
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 0x409e8a
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x409e94
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x409ea1
push eax
call edi
cmp dword [ebp - 0x8c], 0x10
jb 0x409eb9
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004205f0
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 0x409f16
push 3
lea ecx, [ebp - 0x1f0]
call fcn.0041e6d0
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 4], ebx
je 0x409f02
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 0x409ef0
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x1f0]
mov dword [edx + 4], ebx
call fcn.0041e710
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004205f0
add esp, 4
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 4], 0x1a
call fcn.004117a0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c70
cmp dword [ebp - 0x38], 0x10
jb 0x409f5b
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205f0
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 0x409fa5
push 3
lea ecx, [ebp - 0x1f8]
call fcn.0041e6d0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 4], ebx
je 0x409f94
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 0x409f82
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1f8]
mov dword [eax + 4], ebx
call fcn.0041e710
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004205f0
add esp, 4
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x50], ebx
jb 0x409fc6
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205f0
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 0x40a013
push 3
lea ecx, [ebp - 0x200]
call fcn.0041e6d0
mov eax, dword [ebp - 0x70]
cmp dword [eax + 4], ebx
je 0x40a002
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 0x409ff0
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x200]
mov dword [edx + 4], ebx
call fcn.0041e710
mov eax, dword [ebp - 0x70]
push eax
call fcn.004205f0
mov eax, dword [ebp - 0x7c]
add esp, 4
mov dword [ebp - 0x70], ebx
cmp eax, ebx
je 0x40a02c
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x40a036
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x40a043
push eax
call edi
cmp dword [ebp - 0x8c], 0x10
jb 0x40a05b
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004205f0
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 0x40a0b7
push 3
lea ecx, [ebp - 0x208]
call fcn.0041e6d0
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 4], ebx
je 0x40a0a3
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 0x40a091
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x208]
mov dword [eax + 4], ebx
call fcn.0041e710
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004205f0
add esp, 4
mov dword [ebp - 0xa4], ebx
jmp 0x409743
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x210], ebx
call fcn.0041fd80
push 0x467ba8
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.004117a0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c70
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a13c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205f0
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 0x40a162
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205f0
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 0x40a1a1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004205f0
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 0x40a1cd
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.004205f0
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 0x40a1fe
mov edx, dword [ebp + 0xc]
push edx
call fcn.004205f0
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 0x40a227
mov eax, dword [ebp + 0x2c]
push eax
call fcn.004205f0
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 0x40a3be
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.004117a0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c70
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a275
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004205f0
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 0x40a29b
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004205f0
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 0x40a2c0
push eax
call edi
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x40a2ca
push eax
call edi
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x40a2d7
push eax
call edi
mov edi, 0x10
cmp dword [ebp - 0x8c], edi
jb 0x40a2f3
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004205f0
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 0x40a325
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004205f0
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 0x40a351
mov edx, dword [ebp - 0x104]
push edx
call fcn.004205f0
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 0x40a382
mov eax, dword [ebp + 0xc]
push eax
call fcn.004205f0
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 0x40a3ab
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.004205f0
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.0041fd40
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x3c], ebx
jne 0x40a49f
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.004117a0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c70
mov edi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], edi
jb 0x40a41b
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004205f0
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 0x40a441
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004205f0
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 0x40a3bc
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.00407ab0
add esp, 0x24
lea ecx, [ebp - 0x328]
push ecx
mov byte [ebp - 4], 0x24
call fcn.0040cb30
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x110], 8
mov eax, dword [ebp - 0x124]
jae 0x40a4fe
lea eax, [ebp - 0x124]
push eax
lea ebx, [ebp - 0x328]
call fcn.0040e780
mov edx, dword [ebp - 0x328]
mov eax, dword [edx + 4]
cmp dword [ebp + eax - 0x31c], 0
jne 0x40a553
cmp dword [ebp - 0xd0], 0x10
mov eax, dword [ebp - 0xe4]
jae 0x40a532
lea eax, [ebp - 0xe4]
mov ecx, dword [ebp - 0xd4]
push 0
push ecx
push eax
lea edx, [ebp - 0x328]
push edx
call fcn.0040c3c0
lea edi, [ebp - 0x328]
call fcn.0040ccb0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x24
call fcn.0040cc00
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.0041ec30
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.004117a0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x19
call fcn.00405c70
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 0x40a3be
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x20c], ebx
call fcn.0041fd80
push 0x467ba8
lea edx, [ebp - 0x280]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1d4], ebx
call fcn.0041fd80
push 0x467ba8
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea edx, [ebp - 0x1f4]
push edx
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x1f4], ebx
call fcn.0041fd80
push 0x467ba8
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x1d8], ebx
call fcn.0041fd80
push 0x467ba8
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x1dc], ebx
call fcn.0041fd80
push 0x467ba8
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x204], ebx
call fcn.0041fd80
push 0x467ba8
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x1e4], ebx
call fcn.0041fd80
push 0x467ba8
lea edx, [ebp - 0x244]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1fc], ebx
call fcn.0041fd80
push 0x467ba8
lea ecx, [ebp - 0x25c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004287b0
int3