Function at 0x407490
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c88
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x446654]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
push str._________AHttpSocket::readHttpHead_____________
call fcn.00426411
add esp, 4
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x38], 0
je 0x4074f4
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00425dd3
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x38], 0
push 0x19000
call fcn.00425067
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x3e], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
jne 0x4075cd
cmp dword [ebp - 0x44], 0x2800
jge 0x4075cd
mov ecx, dword [ebp - 0x60]
call fcn.00408cc0
movzx ecx, al
test ecx, ecx
jne 0x40754a
jmp 0x4075cd
push 0
push 1
lea edx, [ebp - 0x3e]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jg 0x40756e
mov byte [ebp - 0x19], 0
jmp 0x4075cd
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x44]
mov al, byte [ebp - 0x3e]
mov byte [edx], al
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 4
jl 0x4075c8
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x44]
movsx eax, byte [edx - 4]
cmp eax, 0xd
jne 0x4075c8
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x44]
movsx edx, byte [ecx - 3]
cmp edx, 0xa
jne 0x4075c8
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x44]
movsx ecx, byte [eax - 2]
cmp ecx, 0xd
jne 0x4075c8
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x44]
movsx eax, byte [edx - 1]
cmp eax, 0xa
jne 0x4075c8
mov byte [ebp - 0x3d], 1
jmp 0x40751d
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x44]
mov byte [ecx], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x14], edx
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004054d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
add ecx, 1
push ecx
call fcn.00425067
add esp, 4
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x38], eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x38]
push eax
call fcn.0042a860
add esp, 0xc
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x38]
push ecx
call fcn.00427ec0
add esp, 0xc
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00408410
push eax
push str._________m_szResultHead________len___d
call fcn.00426411
add esp, 8
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x38]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.00408410
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00408760
cmp dword [ebp - 0x18], 0
je 0x407691
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00425dd3
add esp, 4
mov dword [ebp - 0x18], 0
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0x59], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004055e0
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00425d22
mov esp, ebp
pop ebp
ret