Function at 0x5fe4af
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.005fffc4
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x763bf0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.005fffc4
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0x30
call fcn.005fffc4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x7849ff
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push 0x10
call fcn.005fffc4
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.005fffc4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x77f41c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
call fcn.005fffc4
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.005fffc4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x77f41c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], 0
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x76044e]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 4], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x760459]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 8], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x7968e2]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 0xc], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x7655f2]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004c58cd
push eax
call fcn.0051d8fe
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esp
call dword [sym.imp.ws2_32.dll_WSACreateEvent]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe6a7
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x18]
call fcn.004c6a80
mov eax, 0
cmp eax, ecx
jl 0x5fe6c8
push 1
call fcn.005fffca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov dword [ebp - 0x38], esp
push 0x25
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ws2_32.dll_WSAEventSelect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe702
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x38], esp
push 0x25
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.ws2_32.dll_WSAEventSelect]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe72c
push 6
call fcn.005fffca
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.00603860
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5fe75f
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], esp
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5fe775
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5fe780
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe79d
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], esp
push 0
push 0xffffffff
push 0
mov ebx, dword [ebp - 0x18]
call fcn.004c6a80
push ebx
push 1
call dword [sym.imp.ws2_32.dll_WSAWaitForMultipleEvents]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe7dc
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5ff4c2
mov dword [ebp - 0x38], esp
mov eax, dword [ebp - 0x28]
push eax
push 0x2c
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ws2_32.dll_WSAEnumNetworkEvents]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe849
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5fe88a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5fe888
imul eax, dword [edi]
jmp 0x5fe87d
mov ecx, eax
cmp ecx, 0xa
jle 0x5fe894
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x28
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x5fed5c
mov dword [ebp - 0x38], esp
mov eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_getpeername]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fe935
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5fe98c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5fe98a
imul eax, dword [edi]
jmp 0x5fe97f
mov ecx, eax
cmp ecx, 8
jle 0x5fe996
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x38], esp
mov eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x10
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.wsock32.dll_getpeername]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fea2a
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5fea81
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5fea7f
imul eax, dword [edi]
jmp 0x5fea74
mov ecx, eax
cmp ecx, 8
jle 0x5fea8b
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
je 0x5feac8
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp dword [ebx], 4
je 0x5feac8
xor eax, eax
jmp 0x5feacd
mov eax, 1
test eax, eax
je 0x5fec4f
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_recv]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5feb02
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x5feb19
jmp 0x5fec4a
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5feb46
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5feb78
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5feba8
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5febda
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push dword [ebp - 0x34]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 8]
push dword [ebp - 4]
push 2
push dword [ebp - 0xc]
call fcn.0059aee6
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x5fec18
jmp 0x5fec45
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x20]
push dword [ebp - 8]
call dword [sym.imp.wsock32.dll_send]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fec45
push 6
call fcn.005fffca
add esp, 4
jmp 0x5fead5
jmp 0x5fed57
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0x20
jne 0x5fed57
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5fec8e
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5fecc0
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5fecf0
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5fed22
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push 0xffffffff
push 0
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call fcn.0059aee6
jmp 0x5ff5bd
jmp 0x5fee52
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5fed89
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5fedbb
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5fedeb
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5fee1d
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push 0xffffffff
push 0
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call fcn.0059aee6
jmp 0x5ff5bd
mov dword [ebp - 0x38], esp
mov eax, dword [ebp - 0x28]
push eax
push 0x2c
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.ws2_32.dll_WSAEnumNetworkEvents]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5feeb2
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5feef3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5feef1
imul eax, dword [edi]
jmp 0x5feee6
mov ecx, eax
cmp ecx, 0xa
jle 0x5feefd
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x28
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x5ff3c7
mov dword [ebp - 0x38], esp
mov eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
call dword [sym.imp.wsock32.dll_getpeername]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5fef9e
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5feff5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5feff3
imul eax, dword [edi]
jmp 0x5fefe8
mov ecx, eax
cmp ecx, 8
jle 0x5fefff
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0x38], esp
mov eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x10
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_getpeername]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff093
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.006010d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5ff0ea
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5ff0e8
imul eax, dword [edi]
jmp 0x5ff0dd
mov ecx, eax
cmp ecx, 8
jle 0x5ff0f4
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
je 0x5ff131
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp dword [ebx], 4
je 0x5ff131
xor eax, eax
jmp 0x5ff136
mov eax, 1
test eax, eax
je 0x5ff2ba
mov dword [ebp - 0x38], esp
push 0
push 0x1000
push dword [ebp - 0x20]
push dword [ebp - 8]
call dword [sym.imp.wsock32.dll_recv]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff16d
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x5ff184
jmp 0x5ff2b5
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5ff1b1
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5ff1e3
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5ff213
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5ff245
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push dword [ebp - 0x34]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 4]
push dword [ebp - 8]
push 3
push dword [ebp - 0xc]
call fcn.0059aee6
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x5ff283
jmp 0x5ff2b0
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_send]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff2b0
push 6
call fcn.005fffca
add esp, 4
jmp 0x5ff13e
jmp 0x5ff3c2
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0x20
jne 0x5ff3c2
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5ff2f9
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5ff32b
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5ff35b
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5ff38d
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push 0xffffffff
push 0
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.0059aee6
jmp 0x5ff5bd
jmp 0x5ff4bd
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5ff3f4
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5ff426
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5ff456
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5ff488
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push 0xffffffff
push 0
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.0059aee6
jmp 0x5ff5bd
jmp 0x5ff5b8
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x5ff4ef
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esp
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5ff521
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esp
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call dword [sym.imp.wsock32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x5ff551
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
mov ax, word [ebx]
push eax
call dword [sym.imp.wsock32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5ff583
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x64], eax
push 0xffffffff
push 0
mov eax, dword [ebp - 0x64]
cwde
push eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cwde
push eax
push dword [ebp - 0x40]
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.0059aee6
jmp 0x5ff5bd
jmp 0x5fe7a0
mov dword [ebp - 0x38], esp
push dword [ebp - 0x14]
call dword [sym.imp.ws2_32.dll_WSACloseEvent]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff5df
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x38], esp
push dword [ebp - 4]
call dword [sym.imp.wsock32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff601
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x38], esp
push dword [ebp - 8]
call dword [sym.imp.wsock32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff623
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x38], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LocalFree]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x5ff645
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5ff661
push ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop ebx
call fcn.005fffbe
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop ebx
call fcn.005fffbe
add esp, 4
mov esp, ebp
pop ebp
ret 4