Function at 0x40cb10
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ef60
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
call fcn.0040acc0
mov ecx, dword [ebp - 0x64]
call fcn.0040ac50
movzx eax, al
test eax, eax
jne 0x40cb59
xor al, al
jmp 0x40cd28
lea ecx, [ebp - 0x50]
call fcn.00409a70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040a690
add esp, 0x10
movzx edx, word [ebp - 0x34]
cmp edx, 0x1bb
jne 0x40cb9f
mov eax, dword [ebp - 0x64]
mov byte [eax + 4], 1
movzx ecx, word [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409b80
push eax
mov ecx, dword [ebp - 0x64]
call fcn.0040ad00
movzx edx, al
test edx, edx
jne 0x40cbed
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x28], 2
mov byte [ebp - 0x59], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00409b30
mov al, byte [ebp - 0x59]
jmp 0x40cd28
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 4]
neg edx
sbb edx, edx
and edx, 0x800000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00409b80
push eax
mov ecx, dword [ebp - 0x64]
call fcn.0040ad40
movzx edx, al
test edx, edx
jne 0x40cc52
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x28], 1
mov byte [ebp - 0x5a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00409b30
mov al, byte [ebp - 0x5a]
jmp 0x40cd28
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x40cc80
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x58], 0x3300
push 4
lea eax, [ebp - 0x58]
push eax
push 0x1f
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.0040cd50
movzx edx, al
test edx, edx
jne 0x40ccc5
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x28], 3
mov byte [ebp - 0x5b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00409b30
mov al, byte [ebp - 0x5b]
jmp 0x40cd28
push 0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x40cd06
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x28], 1
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00409b30
mov al, byte [ebp - 0x5c]
jmp 0x40cd28
mov byte [ebp - 0x5d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00409b30
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret 0x10