Function at 0x467600
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dda08
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.00466d80
mov ecx, eax
mov dword [ebp - 4], 0
movzx eax, word [edi + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00466da0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x46767f
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004155f0
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.00415460
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.00466f10
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x4676f6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004155f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x467712
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004155f0
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x467748
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047e0e0
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x51d458
push eax
call fcn.004ac830
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 0x467762
mov esi, ecx
jmp 0x46778f
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 0x46778f
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 0x4677ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x46780a
mov eax, dword [ebp - 0x34]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x467722
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push eax
call fcn.00466cd0
mov esi, eax
cmp ebx, esi
je 0x467800
mov ecx, ebx
call fcn.00416f60
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.00416f60
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.0049384c
mov esp, ebp
pop ebp
ret 0x10