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

Disassembly:
sub esp, 0x3ec
push ebx
push esi
push edi
mov edi, edx
call fcn.004dbed0
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x53f428
cmp dword [esi + 0x41c], ebx
je 0x53f428
cmp di, 2
jne 0x53f434
cmp dword [esi + 0xcfc], ebx
je 0x53f428
push esi
xor edx, edx
xor ecx, ecx
call fcn.0053ec90
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret
push ebp
mov ecx, 2
call fcn.004dc3a0
mov eax, edi
shr eax, 0x10
cmp ax, bx
je 0x53f451
movzx eax, ax
jmp 0x53f628
call fcn.004dc0b0
test eax, eax
je 0x53f471
mov dword [esi + 0xd08], 1
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret
mov edx, dword [esi + 4]
push 1
push 1
mov ecx, 0x800e
call fcn.0053f9b0
test eax, eax
mov dword [esi + 0xd08], ebx
jne 0x53f5f6
mov dword [esi + 0xd04], 1
lea ebx, [ebx]
mov ecx, dword [esi + 0xd10]
inc ecx
mov eax, ecx
cmp eax, 0x14
mov dword [esi + 0xd10], ecx
jl 0x53f4d2
mov edx, dword [esi + 4]
push ebx
push 1
mov ecx, 0x800e
mov dword [esi + 0xd10], ebx
call fcn.0053f9b0
test eax, eax
jne 0x53f5f0
mov ecx, dword [esi + 4]
push ebx
push 0x3e6
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x53f609
cmp ebp, ebx
jle 0x53f672
xor eax, eax
cmp ebp, ebx
mov byte [esp + ebp + 0x14], bl
mov dword [esp + 0x10], eax
jle 0x53f4a0
jmp 0x53f510
mov al, byte [esp + eax + 0x14]
cmp al, 0xd
je 0x53f5da
cmp al, 0xa
jne 0x53f55a
cmp dword [esi + 0xcf8], ebx
lea edi, [esi + 0x90c]
je 0x53f54b
mov dword [esi + 0xcf8], ebx
xor eax, eax
mov ecx, 0xf9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esi + 0xcf4], ebx
jmp 0x53f5da
mov edx, dword [esi + 0xcf4]
mov byte [edx + esi + 0x90c], bl
jmp 0x53f5a0
mov ecx, dword [esi + 0xcf4]
mov byte [ecx + esi + 0x90c], al
mov edx, dword [esi + 0xcf4]
inc edx
mov eax, edx
cmp eax, 0x258
mov dword [esi + 0xcf4], edx
jle 0x53f5da
cmp dword [esi + 0xcf8], ebx
lea edi, [esi + 0x90c]
je 0x53f593
mov dword [esi + 0xcf4], ebx
jmp 0x53f5ce
mov dword [esi + 0xcf8], 1
mov byte [eax + edi], bl
cmp byte [edi], bl
mov dword [esi + 0xcf4], ebx
je 0x53f5ce
mov ecx, edi
mov edx, esi
call fcn.004b7f40
mov ecx, esi
call fcn.004dbea0
test eax, eax
je 0x53f464
cmp dword [esi + 0x41c], ebx
je 0x53f464
xor eax, eax
mov ecx, 0xf9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x53f510
jmp 0x53f4a0
mov dword [esi + 0xd08], ebx
pop ebp
pop edi
mov dword [esi + 0xd04], ebx
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret
cmp dword [esi + 0x2258], ebx
mov dword [esi + 0xd04], ebx
jne 0x53f672
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x53f464
cmp eax, ebx
je 0x53f672
cmp dword [esi + 0x41c], ebx
je 0x53f672
mov ecx, eax
call fcn.0053de90
push eax
push 0x576f90
push 0x59b078
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x594098]
add esp, 0xc
mov dword [0x589b90], ebx
mov dword [0x59c69c], 1
mov ecx, dword [esi]
push edx
mov edx, 0x59b078
call fcn.004fc570
cmp dword [esi + 0x41c], ebx
je 0x53f6c5
mov ecx, dword [esi]
call fcn.005366c0
cmp eax, ebx
je 0x53f69a
cmp dword [eax + 0x6c8], ebx
je 0x53f69a
mov edx, dword [0x594094]
mov ecx, dword [esi]
call fcn.004fb620
mov eax, dword [0x594094]
push eax
xor edx, edx
mov ecx, 0x5e1
mov dword [0x589b90], ebx
mov dword [0x59c69c], 1
call fcn.0041c9e0
mov ecx, dword [esi]
mov edx, eax
call fcn.004fb730
lea ecx, [esi + 0x444]
mov edx, 0x3e7
call fcn.0041e210
mov ecx, esi
call fcn.0053e0b0
mov edx, esi
mov ecx, 0x574b10
call fcn.0053df20
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x3ec
ret