Function at 0x467970
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddd58
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x520078]
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
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004670f0
mov ecx, eax
mov dword [ebp - 4], 0
movzx eax, word [edi + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00467110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4679ef
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00415a10
push 4
xor eax, eax
mov dword [ebp - 0x1c], 7
push str.POST
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00415880
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
push edx
push ebx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.00467280
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x467a66
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00415a10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x467a82
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00415a10
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x467ab8
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047e450
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x51d3f8
push eax
call fcn.004acc20
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x10]
xor esi, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x467ad2
mov esi, ecx
jmp 0x467aff
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x20000013
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x467aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
test esi, esi
cmove edi, dword [ebp - 0x14]
test edi, edi
jne 0x467b1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x467b7a
mov eax, dword [ebp - 0x34]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x467a92
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push eax
call fcn.00467040
mov esi, eax
cmp ebx, esi
je 0x467b70
mov ecx, ebx
call fcn.00417380
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x44]
call fcn.00417380
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
cmove eax, edi
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.00493bec
mov esp, ebp
pop ebp
ret 0x10