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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
xor ebx, ebx
lea edi, [esi + 0x44]
push ebx
mov dword [ecx], ebx
mov edx, dword [esi + 0x20]
mov al, byte [edi]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x78], edx
mov byte [ebp - 0x6c], al
call fcn.004feb60
mov ecx, dword [0xfba894]
push ecx
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.004fd470
mov cl, byte [esi + 0x14]
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov dword [ebp - 4], ebx
test cl, cl
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
jne 0x4fc7eb
mov edi, 0xfe7554
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esi + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [ebp + 8], ecx
push ecx
mov ecx, ebx
call fcn.004fd720
test al, al
je 0x4fc7c5
mov eax, dword [ebp + 8]
mov edi, dword [ebx + 4]
mov ecx, eax
mov esi, 0xfe7554
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004fd700
push 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.004feb60
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
call fcn.00517a77
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x4fc80d
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x4fc819
test eax, eax
je 0x4fc835
mov eax, dword [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004fd040
test eax, eax
je 0x4fc835
cmp eax, 0xffffffff
jne 0x4fc8e0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ecx], eax
jle 0x4fc88b
mov esi, eax
push esi
call fcn.00517a77
mov edx, dword [ebp + 8]
xor cl, cl
add esp, 4
test cl, cl
mov dword [edx], eax
je 0x4fc86c
mov ecx, esi
mov esi, dword [ebp - 0x2c]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fc88b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov esi, eax
mov eax, ecx
mov edi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4fc89b
push eax
call fcn.0051798e
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fc8ab
push eax
call fcn.0051798e
add esp, 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x4fcd9c
mov al, byte [ecx - 1]
test al, al
je 0x4fcd92
cmp al, 0xff
je 0x4fcd92
dec al
mov byte [ecx - 1], al
jmp 0x4fcd9c
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
push 0
push ecx
mov ecx, dword [eax + 0x28]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
je 0x4fc835
cmp ebx, 0xffffffff
jne 0x4fc91b
lea edx, [ebp - 0x70]
push 0xfcc880
push edx
mov dword [ebp - 0x70], 1
call fcn.00518d22
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add ecx, ebx
test eax, eax
mov dword [ebp - 0x20], ecx
jne 0x4fc94f
lea esi, [ebx + 1]
push esi
call fcn.00517a77
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp - 0x18], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4fc99d
mov eax, dword [ebp - 0x28]
lea edi, [eax + ebx + 1]
push edi
call fcn.00517a77
mov ecx, edi
mov edx, eax
mov esi, ecx
xor eax, eax
mov edi, edx
mov dword [ebp - 0x74], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [ebp - 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x28]
mov edi, edx
mov edx, ecx
mov eax, dword [ebp - 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0051798e
mov ecx, dword [ebp - 0x74]
add esp, 8
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ecx, ebx
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
add eax, ebx
mov ecx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x7c]
and ecx, 3
cmp eax, 0xffffffff
rep movsb byte es:[edi], byte [esi]
je 0x4fc9cf
cmp dword [ebp - 0x20], eax
jge 0x4fc835
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x4fc9e5
sub eax, ebx
mov dword [ebp - 0x1c], eax
jns 0x4fc9e5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4fc80a
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call fcn.004feb60
mov cl, byte [ebp + 0xb]
push 0
mov byte [ebp - 0x3c], cl
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004feb60
mov edi, str.Content_Length:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x3c]
push ebx
call fcn.004fd720
test al, al
je 0x4fca55
mov edi, dword [ebp - 0x38]
mov ecx, ebx
mov edx, ecx
mov esi, str.Content_Length:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x3c]
call fcn.004fd700
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
mov byte [ebp - 0x5c], al
call fcn.004feb60
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 4
mov ebx, ecx
lea ecx, [ebp - 0x4c]
push ebx
call fcn.004fd720
test al, al
je 0x4fcaaa
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x48]
mov ecx, ebx
push ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x4c]
call fcn.004fd700
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4fcab6
mov eax, 0xfba890
mov ecx, dword [ebp - 0x64]
push ecx
push 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.004fd670
mov ebx, eax
mov eax, dword [0xfba894]
cmp eax, ebx
je 0x4fcc4c
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4fcc4c
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4fcaea
mov eax, 0xfba890
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push edx
push 0
push eax
call fcn.004fd670
mov esi, eax
mov eax, dword [0xfba894]
cmp eax, esi
je 0x4fcbc3
mov ecx, dword [ebp - 0x34]
mov edi, 0xfe7540
add esi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0xfe7540
lea ecx, [ebp - 0x4c]
call fcn.004fd670
cmp dword [0xfba894], eax
jne 0x4fcb36
mov eax, dword [ebp - 0x44]
sub eax, esi
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.004fd2e0
mov ecx, dword [0xfba894]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.004fd470
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.004feb60
lea edx, [ebp - 0x5c]
push 0x20
lea eax, [ebp - 0xa4]
push edx
push eax
call fcn.004fb320
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 1
call fcn.004feb60
mov eax, dword [ebp - 0x58]
xor esi, esi
cmp eax, esi
jne 0x4fcba0
mov eax, 0xfba890
push eax
call fcn.00516cc8
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x28]
sub ecx, edx
add esp, 4
add ecx, ebx
add eax, ecx
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x4fcc4e
jmp 0x4fcbc5
xor esi, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, esi
je 0x4fcbe8
mov al, byte [ecx - 1]
test al, al
je 0x4fcbde
cmp al, 0xff
je 0x4fcbde
dec al
mov byte [ecx - 1], al
jmp 0x4fcbe8
dec ecx
push ecx
call fcn.0052c081
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], esi
cmp ecx, esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
je 0x4fcc14
mov al, byte [ecx - 1]
test al, al
je 0x4fcc0a
cmp al, 0xff
je 0x4fcc0a
dec al
mov byte [ecx - 1], al
jmp 0x4fcc14
dec ecx
push ecx
call fcn.0052c081
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], esi
cmp ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
je 0x4fc835
mov al, byte [ecx - 1]
test al, al
je 0x4fcc3d
cmp al, 0xff
je 0x4fcc3d
dec al
mov byte [ecx - 1], al
jmp 0x4fc835
dec ecx
push ecx
call fcn.0052c081
add esp, 4
jmp 0x4fc835
xor esi, esi
mov eax, dword [ebp - 0x58]
cmp eax, esi
je 0x4fcc72
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fcc69
cmp al, 0xff
je 0x4fcc69
dec al
mov byte [ecx], al
jmp 0x4fcc72
push ecx
call fcn.0052c081
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], esi
cmp eax, esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
je 0x4fcc9f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fcc96
cmp al, 0xff
je 0x4fcc96
dec al
mov byte [ecx], al
jmp 0x4fcc9f
push ecx
call fcn.0052c081
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], esi
cmp ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
je 0x4fcccf
mov al, byte [ecx - 1]
test al, al
je 0x4fccc5
cmp al, 0xff
je 0x4fccc5
dec al
mov byte [ecx - 1], al
jmp 0x4fcccf
dec ecx
push ecx
call fcn.0052c081
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
jmp 0x4fc80a
dec ecx
push ecx
call fcn.0052c081
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8