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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x46a524]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
xor ebx, ebx
push str.Authorization:bearer
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], ebx
call fcn.00401130
push 0xffffffffffffffff
push ebx
push 0x46c940
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.004025f0
mov dword [ebp - 0x54], ebx
push 8
mov byte [ebp - 4], 2
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b83e
mov dword [ebp - 0x54], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov dword [edx], ecx
mov edi, 0xf
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x22c], eax
jmp 0x40a880
mov dword [ebp - 0x1c4], ebx
push 8
mov byte [ebp - 4], 4
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b80b
mov dword [ebp - 0x1c4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c4]
mov dword [edx], ecx
mov byte [ebp - 4], 5
push 0x13
push str.graph.microsoft.com
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
call fcn.00401430
mov dword [ebp - 0x88], ebx
push 8
mov byte [ebp - 4], 7
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b7d8
mov dword [ebp - 0x88], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x88]
mov dword [ecx], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 8
push ebx
lea edx, [ebp - 0x1c4]
push edx
mov ecx, eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.004015e0
cmp dword [ebp - 0x1ac], 0x10
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
jb 0x40a952
mov eax, dword [ebp - 0x1c0]
push eax
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c4], ebx
je 0x40a9ae
push 3
lea ecx, [ebp - 0x1f4]
call fcn.0041e6c0
mov eax, dword [ebp - 0x1c4]
cmp dword [eax + 4], ebx
je 0x40a99a
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 0x40a988
mov edx, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1f4]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0x1c4]
push eax
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x1c4], ebx
push ebx
push ebx
push ebx
push ebx
push str.OneDriveTools
mov byte [ebp - 4], 0xa
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x68], eax
cmp eax, ebx
je 0x40a9fc
push 4
lea ecx, [ebp - 0x17c]
push ecx
push 0x54
push eax
mov dword [ebp - 0x17c], 0xa00
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x40ab7b
cmp eax, ebx
je 0x40ab7b
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 esi, eax
push ebx
lea eax, [ebp - 0x1a4]
push 0x1bb
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x1a4], ebx
push 8
mov byte [ebp - 4], 0xb
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b38a
mov dword [ebp - 0x1a4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a4]
mov dword [edx], ecx
push 0xffffffffffffffff
mov byte [ebp - 4], 0xc
push ebx
lea eax, [ebp - 0x88]
mov edi, 0xf
push eax
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x1a0], bl
call fcn.004015e0
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1a0]
inc eax
cmp dword [ebp - 0x18c], 0x10
mov dword [ebp - 0x17c], ebx
jae 0x40aac3
lea ecx, [ebp - 0x1a0]
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x17c]
push esi
push ecx
call fcn.00426f80
add esp, 0x14
cmp dword [ebp - 0x18c], 0x10
jb 0x40aaef
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x1a0], bl
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1a4], ebx
je 0x40ab4b
push 3
lea ecx, [ebp - 0x1e0]
call fcn.0041e6c0
mov eax, dword [ebp - 0x1a4]
cmp dword [eax + 4], ebx
je 0x40ab37
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 0x40ab25
mov edx, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1e0]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.004205e0
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x68]
push esi
push ecx
mov dword [ebp - 0x1a4], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push esi
mov dword [ebp - 0x64], eax
call fcn.004207e0
add esp, 4
cmp dword [ebp - 0x3c], 0x10
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], ebx
jae 0x40ab8a
lea eax, [ebp - 0x50]
push 0x14
push str._v1.0_me_drive_root:
lea ecx, [ebp - 0x54]
mov byte [eax], bl
call fcn.00404cb0
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x54]
call fcn.004025f0
push 9
push str.:_content
lea ecx, [ebp - 0x54]
call fcn.00404cb0
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x17c], esp
mov dword [ebp - 0x180], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 0xe
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b7a5
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 0xf
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015e0
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x180], esp
mov dword [ebp - 0x180], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 0x11
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b772
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [esi]
mov dword [edx], esi
mov byte [ebp - 4], 0x12
push 3
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x464fe4
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401430
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.00401c70
mov dword [ebp - 0xa8], ebx
push 8
mov byte [ebp - 4], 0x13
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b73f
mov dword [ebp - 0xa8], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa8]
mov dword [ecx], eax
mov dword [ebp - 0x90], edi
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xc8]
mov byte [ebp - 4], 0x14
push edx
mov ecx, eax
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
call fcn.004025f0
push 2
push 0x465068
lea ecx, [ebp - 0xa8]
call fcn.00404cb0
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x180], esp
mov dword [ebp - 0x180], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 0x15
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b70c
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 0x16
push ebx
lea ecx, [ebp - 0xa8]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.00401f50
cmp dword [ebp - 0x68], ebx
je 0x40ad5f
cmp dword [ebp - 0x64], ebx
je 0x40ad5f
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x40ad6e
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 - 0x60]
cmp eax, ebx
je 0x40ad6e
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x34], ebx
push 8
mov byte [ebp - 4], 0x17
call fcn.00420760
add esp, 4
cmp eax, ebx
je 0x40b6d9
mov dword [ebp - 0x34], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
mov dword [eax], edx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x88]
push ecx
mov edi, edx
mov byte [ebp - 4], 0x18
call fcn.00402070
mov edx, dword [ebp - 0x20]
cmp edx, 1
jb 0x40adc5
mov edx, 1
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x30]
jae 0x40add1
lea edi, [ebp - 0x30]
mov ecx, 0x46510c
cmp edx, 4
jb 0x40adf4
jmp 0x40ade0
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40adf8
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x40ade0
cmp edx, ebx
je 0x40ae3b
movzx esi, byte [ecx]
movzx eax, byte [edi]
sub eax, esi
jne 0x40ae33
cmp edx, 1
jbe 0x40ae3b
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x40ae33
cmp edx, 2
jbe 0x40ae3b
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x40ae33
cmp edx, 3
jbe 0x40ae3b
movzx eax, byte [edi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x40ae3d
xor eax, eax
mov edx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40ae58
cmp edx, 1
jae 0x40ae4e
or eax, 0xffffffff
jmp 0x40ae56
xor eax, eax
cmp edx, 1
setne al
cmp eax, ebx
sete al
cmp al, bl
jne 0x40b56a
cmp edx, 1
jb 0x40ae6d
mov edx, 1
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x30]
jae 0x40ae79
lea edi, [ebp - 0x30]
mov ecx, 0x46482c
cmp edx, 4
jb 0x40ae97
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40ae9b
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x40ae83
cmp edx, ebx
je 0x40aede
movzx eax, byte [edi]
movzx esi, byte [ecx]
sub eax, esi
jne 0x40aed6
cmp edx, 1
jbe 0x40aede
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x40aed6
cmp edx, 2
jbe 0x40aede
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x40aed6
cmp edx, 3
jbe 0x40aede
movzx eax, byte [edi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x40aee0
xor eax, eax
mov edx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40aefb
cmp edx, 1
jae 0x40aef1
or eax, 0xffffffff
jmp 0x40aef9
xor eax, eax
cmp edx, 1
setne al
cmp eax, ebx
sete al
cmp al, bl
jne 0x40b56a
cmp edx, 1
jb 0x40af10
mov edx, 1
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x30]
jae 0x40af1c
lea edi, [ebp - 0x30]
mov ecx, 0x464830
cmp edx, 4
jb 0x40af3a
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40af3e
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x40af26
cmp edx, ebx
je 0x40af81
movzx esi, byte [ecx]
movzx eax, byte [edi]
sub eax, esi
jne 0x40af79
cmp edx, 1
jbe 0x40af81
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x40af79
cmp edx, 2
jbe 0x40af81
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x40af79
cmp edx, 3
jbe 0x40af81
movzx eax, byte [edi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x40af83
xor eax, eax
mov edx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40af9e
cmp edx, 1
jae 0x40af94
or eax, 0xffffffff
jmp 0x40af9c
xor eax, eax
cmp edx, 1
setne al
cmp eax, ebx
sete al
cmp al, bl
jne 0x40b56a
cmp edx, 1
jb 0x40afb3
mov edx, 1
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x30]
jae 0x40afbf
lea edi, [ebp - 0x30]
mov ecx, 0x464834
cmp edx, 4
jb 0x40afe4
lea esp, [esp]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40afe8
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x40afd0
cmp edx, ebx
je 0x40b02b
movzx eax, byte [edi]
movzx esi, byte [ecx]
sub eax, esi
jne 0x40b023
cmp edx, 1
jbe 0x40b02b
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x40b023
cmp edx, 2
jbe 0x40b02b
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x40b023
cmp edx, 3
jbe 0x40b02b
movzx eax, byte [edi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x40b02d
xor eax, eax
cmp eax, ebx
jne 0x40b04a
mov eax, dword [ebp - 0x20]
cmp eax, 1
jae 0x40b03e
or eax, 0xffffffff
jmp 0x40b048
xor edx, edx
cmp eax, 1
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
jne 0x40b56a
lea ecx, [ebp - 0x174]
call fcn.004180d0
push ebx
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00410fb0
push 1
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x1a
call fcn.00418190
test al, al
je 0x40b4ab
push str.error
lea ecx, [ebp - 0x1d4]
call fcn.00412300
mov ecx, eax
call fcn.004126e0
test al, al
jne 0x40b433
push str.InvalidAuthenticationToken
lea ecx, [ebp - 0x284]
call fcn.00411270
lea edx, [ebp - 0x284]
push edx
push str.code
push str.error
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x1b
call fcn.00412300
mov ecx, eax
call fcn.00412300
mov ecx, eax
call fcn.00411b70
lea ecx, [ebp - 0x284]
mov byte [ebp - 0x175], al
mov byte [ebp - 4], 0x1a
call fcn.00411790
cmp byte [ebp - 0x175], bl
je 0x40b3bd
mov eax, dword [ebp - 0x50]
mov esi, 0x10
mov dword [ebp - 0x40], ebx
cmp dword [ebp - 0x3c], esi
jae 0x40b125
lea eax, [ebp - 0x50]
mov byte [eax], bl
lea eax, [ebp - 0xe8]
push eax
call fcn.00408190
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x54]
cmp ecx, edi
je 0x40b194
cmp dword [ebp - 0x3c], esi
jb 0x40b150
mov edx, dword [ebp - 0x50]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
cmp dword [edi + 0x18], esi
jae 0x40b179
mov eax, dword [edi + 0x14]
inc eax
push eax
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00420020
add esp, 0xc
jmp 0x40b182
mov edx, dword [edi + 4]
mov dword [ebp - 0x50], edx
mov dword [edi + 4], ebx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x40], eax
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
cmp dword [ebp - 0xd0], esi
jb 0x40b1ab
mov edx, dword [ebp - 0xe4]
push edx
call fcn.004205e0
add esp, 4
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0xe8], ebx
je 0x40b20b
push 3
lea ecx, [ebp - 0x200]
call fcn.0041e6c0
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 4], ebx
je 0x40b1f7
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 0x40b1e5
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x200]
mov dword [edx + 4], ebx
call fcn.0041e700
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004205e0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xc4]
add esp, 4
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb0], esi
jae 0x40b23e
lea eax, [ebp - 0xc4]
push 0x15
push str.Authorization:bearer
lea ecx, [ebp - 0xc8]
mov byte [eax], bl
call fcn.00404cb0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.004025f0
mov eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp eax, ebx
je 0x40b274
push eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x40b27e
push eax
call esi
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x40b288
push eax
call esi
cmp dword [ebp - 0x70], 0x10
jb 0x40b29d
mov edx, dword [ebp - 0x84]
push edx
call fcn.004205e0
add esp, 4
mov edi, 0xf
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00401380
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00411790
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
call fcn.00405c60
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1c], 0x10
jb 0x40b2ed
mov eax, dword [ebp - 0x30]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00401380
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x90], 0x10
jb 0x40b31a
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
call fcn.00401380
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x40b345
push eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x40b34f
push eax
call esi
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x40b359
push eax
call esi
cmp dword [ebp - 0x70], 0x10
jb 0x40b36e
mov edx, dword [ebp - 0x84]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00401380
jmp 0x40a880
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x1e8], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x274]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00411790
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
call fcn.00405c60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.00401210
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00401210
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00401b90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401210
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.00401210
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
jmp 0x40b54e
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00411790
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
call fcn.00405c60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.00401210
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00401210
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00401b90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401210
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.00401210
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
xor al, al
jmp 0x40b54e
cmp dword [ebp - 0x20], ebx
je 0x40b433
mov eax, dword [ebp - 0x184]
cmp dword [eax + 0x18], 0x10
mov dword [eax + 0x14], ebx
jb 0x40b4c4
mov eax, dword [eax + 4]
jmp 0x40b4c7
add eax, 4
mov ecx, dword [ebp - 0x184]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x34]
push edx
mov byte [eax], bl
call fcn.004015e0
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00411790
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
call fcn.00405c60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.00401210
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00401210
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00401b90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401210
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.00401210
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fd30
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x184]
mov edi, 0x10
mov dword [ecx + 0x14], ebx
cmp dword [ecx + 0x18], edi
jb 0x40b582
mov eax, dword [ecx + 4]
jmp 0x40b585
lea eax, [ecx + 4]
push 0xffffffffffffffff
mov byte [eax], bl
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.004015e0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1c], edi
jb 0x40b5a8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004205e0
add esp, 4
mov esi, 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00401380
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x90], edi
jb 0x40b5d9
mov edx, dword [ebp - 0xa4]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
call fcn.00401380
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp eax, ebx
je 0x40b60a
push eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x40b614
push eax
call esi
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x40b61e
push eax
call esi
cmp dword [ebp - 0x70], edi
jb 0x40b632
mov eax, dword [ebp - 0x84]
push eax
call fcn.004205e0
add esp, 4
mov esi, 0xf
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00401380
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], edi
jb 0x40b663
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
call fcn.00401380
mov byte [ebp - 4], bl
cmp dword [ebp - 0xb0], edi
jb 0x40b68e
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
call fcn.00401380
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x24], edi
jb 0x40b6c3
mov eax, dword [ebp + 0x10]
push eax
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x10], bl
call fcn.00401380
jmp 0x40b54c
lea ecx, [ebp - 0x1f8]
push ecx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1f8], ebx
call fcn.0041fd70
push 0x467b98
lea edx, [ebp - 0x210]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1f0], 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
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x1dc], ebx
call fcn.0041fd70
push 0x467b98
lea eax, [ebp - 0x244]
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 - 0x21c]
mov dword [ebp - 0x1e4], ebx
call fcn.0041fd70
push 0x467b98
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x1ec], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1d8], ebx
call fcn.0041fd70
push 0x467b98
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x1fc], 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 - 0x204]
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x204], ebx
call fcn.0041fd70
push 0x467b98
lea ecx, [ebp - 0x268]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00428790
int3