Function at 0x408d80
Capabilities:
Access peb ldr_data
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43df73
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x45506c]
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 0x88
mov dword [ebp - 4], 1
call fcn.0040dade
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
lea esi, [edi + 0x24]
mov dword [edi], vtable.CWinHttp.0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1388
mov dword [edi + 0x1c], 0x1388
mov dword [edi + 0x20], 0x1388
mov dword [ebp - 0x60], esi
mov dword [esi], vtable.CHttpHeader.0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
add esi, 0x50
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x64], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b21a
push 0
push 0
push 0
mov dword [esi], eax
xorps xmm0, xmm0
push 0
movq qword [edi + 0x7c], xmm0
push str.Microsoft_Internet_Explorer
mov dword [edi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x408e9e
mov dword [edi + 0x84], 1
jmp 0x408eb0
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov byte [ebp - 4], 1
lea esi, [ebp - 0x13]
mov ebx, dword [ebp + 0x30]
nop word [eax + eax]
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x408ec0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x58], dl
mov eax, 0xf
mov dword [ebp - 0x44], eax
cmp esi, ecx
je 0x408f08
mov eax, ecx
lea ecx, [ebp - 0x58]
sub eax, esi
push eax
push esi
call fcn.004067e0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
mov byte [ebp - 4], 0xf
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push ecx
push str.Content_Length
mov ecx, edi
call dword [eax + 0x14]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x408f5b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409086
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov eax, dword [edi]
mov ecx, edi
push str.application_json
push str.Content_Type
call dword [eax + 0x14]
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp + 0x20]
mov eax, dword [edi]
lea ecx, [ebp + 8]
cmovae edx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push 0
cmovae ecx, dword [ebp + 8]
push edx
push 1
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov byte [ebp - 4], 0x10
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x18]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x2c]
cmp esi, 0xc8
sete bl
cmp edx, 0x10
jb 0x408fe4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40908b
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x409026
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40901c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409090
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x409068
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40905e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409095
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov al, bl
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.0040d893
mov esp, ebp
pop ebp
ret
call fcn.004288b0
call fcn.004288b0
call fcn.004288b0
call fcn.004288b0
int3