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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5120b1
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x55c4e0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4e0]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
xor edi, edi
lea esp, [esp]
push 0
push 1
lea ecx, [esp + 0x74]
push ecx
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x42d1b2
push esi
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.00408960
mov eax, dword [esp + 0x18]
add edi, esi
cmp edi, 1
jl 0x42d180
jmp 0x42d1bb
cmp edi, 1
jl 0x42d39e
push 4
push 0x541be8
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.004070f0
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.00409330
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x38], al
jb 0x42d206
push dword [esp + 0x1c]
call fcn.004c5e80
mov al, byte [esp + 0x3c]
add esp, 4
test al, al
mov eax, dword [esp + 0x18]
je 0x42d177
push 1
push ecx
lea eax, [esp + 0x40]
mov byte [esp + 0x40], 0x20
push eax
mov ecx, ebx
call fcn.00409ce0
test eax, eax
js 0x42d39e
cmp dword [ebx + 0x14], 0x10
jb 0x42d238
mov ecx, dword [ebx]
jmp 0x42d23a
mov ecx, ebx
inc eax
add eax, ecx
push eax
call fcn.004da44a
mov esi, dword [esp + 0x38]
add esp, 4
mov dword [esi], eax
cmp eax, 0x12d
je 0x42d2a1
cmp eax, 0x12e
je 0x42d2a1
push 0x10
push ecx
push str.Content_Length:
mov ecx, ebx
call fcn.00409ce0
test eax, eax
js 0x42d290
cmp dword [ebx + 0x14], 0x10
jb 0x42d275
mov ebx, dword [ebx]
add eax, 0x10
add eax, ebx
push eax
call fcn.004da44a
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
mov al, 1
jmp 0x42d3a0
mov ecx, dword [esp + 0x14]
mov al, 1
mov dword [ecx], 0xffffffff
jmp 0x42d3a0
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x480], 0
lea ecx, [esp + 0x1c]
push 8
push str.location
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.004070f0
lea eax, [esp + 0x1c]
mov byte [esp + 0x480], 1
push eax
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.00408f60
add esp, 4
mov byte [esp + 0x480], 0
test al, al
sete al
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x38], al
jb 0x42d329
push dword [esp + 0x1c]
call fcn.004c5e80
mov al, byte [esp + 0x3c]
add esp, 4
test al, al
je 0x42d331
xor bl, bl
jmp 0x42d387
lea edx, [esp + 0x54]
lea ecx, [esp + 0x3c]
call fcn.00408d10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push esi
push ebx
mov byte [esp + 0x490], 2
call fcn.0042d3f0
cmp dword [esp + 0x50], 8
mov bl, al
jb 0x42d370
push dword [esp + 0x3c]
call fcn.004c5e80
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
cmp dword [esp + 0x68], 0x10
jb 0x42d39a
push dword [esp + 0x54]
call fcn.004c5e80
add esp, 4
mov al, bl
jmp 0x42d3a0
xor al, al
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 0xc