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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43df03
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.0040da7e
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.0040b1ba
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 0x408e3e
mov dword [edi + 0x84], 1
jmp 0x408e50
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 0x408e60
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 0x408ea8
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 0x408efb
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408ef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409026
push edx
push ecx
call fcn.0040d849
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 0x408f84
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40902b
push edx
push ecx
call fcn.0040d849
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 0x408fc6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409030
push edx
push ecx
call fcn.0040d849
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 0x409008
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408ffe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409035
push edx
push ecx
call fcn.0040d849
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.0040d833
mov esp, ebp
pop ebp
ret
call fcn.00428840
call fcn.00428840
call fcn.00428840
call fcn.00428840
int3