Function at 0x40c7c0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430fd3
mov eax, dword fs:[0]
push eax
mov eax, 0x3cd8
call fcn.0042f270
mov eax, dword [0x44700c]
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 esi, edx
mov ebx, ecx
mov dword [ebp - 0x3ccc], ebx
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x3cc4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3ce4], ebx
mov dword [ebp - 0x3cd4], 0
call fcn.0040a790
push 4
push dword [0x4422c0]
mov eax, 0x50
mov dword [ebp - 0x1874], 2
mov word [ebp - 0x1878], ax
mov eax, ecx
push 0x21
push eax
mov dword [ebp - 0x1870], 4
call fcn.00421a55
push eax
call fcn.00401f70
add esp, 0x14
lea ecx, [ebp - 0x3cc4]
call fcn.0040a790
push esi
call fcn.0040a1b0
call fcn.004026f0
mov ecx, eax
test ecx, ecx
jne 0x40c882
push 0x80004005
call fcn.00402be0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3cd0], eax
lea eax, [ebp - 0x287a]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x387c]
push eax
lea eax, [ebp - 0x3cd0]
push str._s_s
push eax
call fcn.00407a40
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add esp, 0xc
mov dword [ebp - 0x3cd4], 1
lea ecx, [ebp - 0x1854]
call fcn.004120e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1840], 0
mov esi, dword [ebp - 0x3cd0]
mov dword [ebp - 0x3ccc], 0
jne 0x40c96b
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1840], eax
test eax, eax
jne 0x40c950
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x400
lea ecx, [ebp - 0x1824]
mov dword [ebp - 0x182c], eax
push ecx
push 0x400
push eax
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x40ca37
cmp dword [ebp - 0x3ccc], 0
je 0x40c96b
push 4
lea ecx, [ebp - 0x3ccc]
push ecx
push 6
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x3cc4]
push eax
lea ecx, [ebp - 0x1854]
call fcn.00412320
test al, al
je 0x40ca37
sub esp, 0xc
lea ecx, [ebp - 0x1854]
push esi
call fcn.00412490
test al, al
je 0x40ca37
test edi, edi
je 0x40c9ad
lea ecx, [ebp - 0x1854]
call fcn.00412680
mov dword [edi], eax
lea eax, [ebp - 0x3cc5]
mov byte [ebp - 0x3cc5], 0
push eax
push ecx
lea ecx, [ebp - 0x3ce0]
mov dword [ebp - 0x3ce0], 0
mov dword [ebp - 0x3cdc], 0
mov dword [ebp - 0x3cd8], 0
call fcn.0040d1a0
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1854]
mov edi, dword [ebp - 0x3ce0]
push edi
call fcn.00412410
test eax, eax
jle 0x40ca2c
mov byte [ebp - 0x3ccc], 0
add eax, edi
push dword [ebp - 0x3ccc]
mov ecx, ebx
push eax
push edi
push dword [ebx + 4]
call fcn.0040f590
push ecx
push edi
lea ecx, [ebp - 0x1854]
call fcn.00412410
test eax, eax
jg 0x40ca00
lea ecx, [ebp - 0x3ce0]
call fcn.00404bb0
lea ecx, [ebp - 0x1854]
call fcn.004121f0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ca5e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00419174
mov esp, ebp
pop ebp
ret