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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], 0x6db9f0
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x58ff47
mov cl, byte [ebx + 0x75]
test cl, cl
je 0x58ff28
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x58ff10
mov edx, dword [ebx + 0x13c]
test edx, edx
jne 0x58ff17
push ebx
call fcn.0058b74c
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov cl, byte [ebx + 0x76]
test cl, cl
je 0x58ff47
push ebx
call fcn.0058b7c0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov ecx, dword [ebx + 0x10]
cmp ecx, 0xffffffff
jne 0x58ff60
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov ecx, dword [ebx + 0x150]
test ecx, ecx
jne 0x58ffb4
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x58ffa3
mov edx, dword [eax + 8]
mov cl, byte [eax + 0x18]
test cl, cl
jne 0x58ff90
push 0x64
lea eax, [ebp - 0xbc]
push eax
push edx
call dword [0x6ebec8]
add esp, 0xc
jmp 0x58ffa3
push 0x64
lea ecx, [ebp - 0xbc]
push ecx
push edx
push eax
call fcn.0060cdec
add esp, 0x10
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x58ffc5
xor eax, eax
xor edx, edx
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x54], edx
test si, si
je 0x590044
movzx edi, si
push edi
push ebx
call fcn.0058f584
add esp, 8
mov byte [ebx + 0x160], al
push edi
push ebx
call fcn.0058f584
add esp, 8
push eax
push 2
push ebx
call fcn.0058f630
add esp, 0xc
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x59000a
mov edx, dword [ebx + 0x164]
push edx
call fcn.0067ac5a
pop ecx
xor ecx, ecx
mov dword [ebx + 0x154], ecx
mov dword [ebx + 0x150], ecx
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x80]
test edx, edx
je 0x590033
push ebx
call fcn.005904f0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2d], 0
xor esi, esi
mov eax, dword [ebx + 0x170]
mov edx, dword [ebx + 0x17c]
cmp eax, edx
jge 0x590066
mov edi, dword [ebx + 0x170]
jmp 0x59006c
mov edi, dword [ebx + 0x17c]
mov eax, dword [0x6db430]
test eax, eax
je 0x5900b0
mov dl, byte [ebx + 0xd]
test dl, dl
jne 0x5900b0
mov ecx, dword [0x6db440]
test ecx, ecx
jg 0x59009a
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jne 0x5900b0
mov eax, dword [0x6db440]
cmp edi, eax
jle 0x5900b0
mov edi, dword [0x6db440]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x5900ea
mov dl, byte [ebx + 0xd]
test dl, dl
jne 0x5900ea
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jg 0x5900d9
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x590458
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jne 0x5900ea
mov eax, dword [ebx + 0x6c]
cmp edi, eax
jle 0x5900ea
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x590100
mov edx, dword [ebx + 0x15c]
test edx, edx
je 0x590100
xor edi, edi
test edi, edi
je 0x5902dd
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x590136
lea edx, [ebp - 0x2e]
push edx
push edi
mov ecx, dword [ebx + 0x168]
push ecx
push eax
call fcn.006095b8
add esp, 0x10
mov esi, eax
test esi, esi
jg 0x59012d
or esi, 0xffffffff
mov byte [ebp - 0x2d], 1
jmp 0x5901f0
mov eax, dword [ebx + 0x14]
cmp eax, 7
jne 0x590186
mov esi, edi
mov edx, dword [ebx + 0x168]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x3c]
mov dl, byte [eax + 0xc]
test dl, dl
jne 0x59016e
push 0
push esi
mov ecx, dword [ebp - 0x34]
push ecx
mov eax, dword [ebp - 0x38]
push eax
call sub.WSOCK32.DLL_recv
jmp 0x590182
push 0
push esi
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00592354
mov esi, eax
jmp 0x5901f0
mov dword [ebp - 0x40], 0x10
lea esi, [ebx + 0x180]
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0x44], eax
mov edx, dword [ebx + 0x164]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x50]
mov dl, byte [eax + 0xc]
test dl, dl
jne 0x5901d2
lea ecx, [ebp - 0x40]
push ecx
push esi
push 0
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.WSOCK32.DLL_recvfrom
jmp 0x5901ee
lea eax, [ebp - 0x40]
push eax
push esi
push 0
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x48]
push ecx
mov eax, dword [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x50]
push edx
call fcn.00592400
mov esi, eax
cmp esi, 0xffffffff
je 0x5902dd
test esi, esi
jle 0x5902dd
sub dword [ebx + 0x170], esi
add dword [ebx + 0x168], esi
add dword [ebx + 0x174], esi
mov ecx, dword [ebx + 0x154]
test ecx, ecx
jne 0x59022f
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x59022f
mov edx, dword [ebx + 0x178]
add dword [edx], esi
mov cl, byte [ebx + 0xd]
test cl, cl
jne 0x590258
add dword [ebx + 0x5c], esi
add dword [0x6db494], esi
mov eax, dword [0x6db430]
test eax, eax
je 0x59024e
sub dword [0x6db440], esi
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x590258
sub dword [ebx + 0x6c], esi
mov ecx, dword [ebx + 0x154]
test ecx, ecx
je 0x59026e
push esi
push ebx
call fcn.0058f6fc
add esp, 8
jmp 0x5902bc
mov eax, dword [ebx + 0x158]
test eax, eax
jne 0x590282
mov edx, dword [ebx + 0x170]
test edx, edx
je 0x59028a
mov ecx, dword [ebx + 0x14]
cmp ecx, 6
jne 0x5902a5
push 0
push 2
push ebx
call fcn.0058f630
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x150], eax
mov byte [ebp - 0x2d], 0
jmp 0x5902bc
mov edx, dword [ebx + 0x158]
test edx, edx
je 0x5902bc
push 0
push 2
push ebx
call fcn.0058f630
add esp, 0xc
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x5902dd
push 1
mov edx, dword [0x6db3d4]
mov eax, dword [ebx + 0x10]
push eax
push 0x401
push edx
call sub.USER32.DLL_PostMessageA
cmp esi, 0xffffffff
jne 0x5903f7
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x5902fc
mov al, byte [ebp - 0x2e]
cmp al, 7
je 0x5903f7
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x59032d
mov cl, byte [ebp - 0x2e]
cmp cl, 0xb
jne 0x59032d
mov byte [ebx + 0x76], 1
push 1
mov edx, dword [0x6db3d4]
mov eax, dword [ebx + 0x10]
xor esi, esi
push eax
push 0x401
push edx
call sub.USER32.DLL_PostMessageA
jmp 0x5903f7
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x590375
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
je 0x59035f
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov word [ebp - 0x1c], 0x14
push 3
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx]
mov word [ebp - 0x1c], 8
add esp, 8
xor eax, eax
mov dword [ebx + 0x70], eax
xor edx, edx
mov byte [ebx + 0x76], dl
mov byte [ebx + 0x75], dl
mov byte [ebx + 0x160], 0x19
jmp 0x5903bc
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 0xc]
test cl, cl
jne 0x590389
call sub.WSOCK32.DLL_WSAGetLastError
jmp 0x590392
mov eax, dword [ebp - 0x58]
push eax
call fcn.00592df0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
cmp edx, 0x2733
je 0x5903b5
mov ecx, dword [ebp - 0x54]
push ecx
push ebx
call fcn.0058f584
add esp, 8
mov byte [ebx + 0x160], al
jmp 0x5903bc
mov byte [ebx + 0x160], 0
mov al, byte [ebx + 0x160]
test al, al
je 0x5903f7
push eax
push 2
push ebx
call fcn.0058f630
add esp, 0xc
mov edx, dword [ebx + 0x154]
test edx, edx
je 0x5903e9
mov ecx, dword [ebx + 0x164]
push ecx
call fcn.0067ac5a
pop ecx
xor eax, eax
mov dword [ebx + 0x154], eax
mov dword [ebx + 0x150], eax
mov dl, byte [ebx + 0x76]
test dl, dl
jne 0x590437
test edi, edi
je 0x59041d
test esi, esi
jne 0x59041d
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x59041d
mov byte [ebp - 0x2d], 0
push ebx
call fcn.005904f0
pop ecx
jmp 0x590437
test edi, edi
je 0x590437
test esi, esi
jne 0x590437
mov byte [ebp - 0x2d], 0
mov byte [ebx + 0x84], 0x1c
push ebx
call fcn.005904f0
pop ecx
mov al, byte [ebp - 0x2d]
test al, al
jne 0x590048
push 2
push ebx
mov edx, dword [ebx]
call dword [edx]
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret