Function at 0x58ffa0
Capabilities:
Create thread
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6d63
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x6cdf60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x88f80c], 0
jne 0x590333
lea eax, [ebp - 0x8c0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x590333
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x88f80c], eax
cmp eax, 0xffffffff
je 0x590333
mov eax, 2
push 0x521
mov word [0x88f5b0], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x1ae9b21b
lea ecx, [ebp - 0x900]
mov word [0x88f5b2], ax
call fcn.00597c60
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 8
mov dword [0x88f5b4], eax
lea eax, [ebp - 0x72c]
push eax
push 0x1006
push 0xffff
push dword [0x88f80c]
mov dword [ebp - 0x72c], 0x3a98
mov dword [ebp - 0x728], 0
call esi
push 4
lea eax, [ebp - 0x724]
mov dword [ebp - 0x724], 1
push eax
push 8
push 0xffff
push dword [0x88f80c]
call esi
push 0x10
push 0x88f5b0
push 0
push 0x310
lea eax, [ebp - 0x720]
mov dword [0x890d44], 0x7d1
push eax
push dword [0x88f80c]
mov ecx, 0xc4
lea edi, [ebp - 0x720]
mov esi, 0x890b00
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_sendto]
push 0
push 0
push 0
push 0x400
lea eax, [ebp - 0x410]
mov dword [0x890d44], 0
push eax
push dword [0x88f80c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x5902c2
jmp 0x590171
push 0x65d0fe11
lea ecx, [ebp - 0x8fc]
call fcn.00597ce0
push eax
lea ecx, [ebp - 0x918]
mov dword [ebp - 4], 0
call fcn.00580b90
mov eax, 0x6964b0
lea ecx, [ebp - 0x958]
sub eax, 0x369d3767
push eax
call fcn.00597ca0
push eax
lea ecx, [ebp - 0x8d8]
mov byte [ebp - 4], 2
call fcn.00580b90
push 0x34
mov byte [ebp - 4], 5
call fcn.0059c090
mov esi, eax
add esp, 4
test esi, esi
je 0x5901f3
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
jmp 0x5901f5
xor esi, esi
lea eax, [ebp - 0x8d8]
cmp esi, eax
je 0x59020b
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00580960
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x918]
cmp ecx, eax
je 0x590222
push 0xffffffffffffffff
push 0
push eax
call fcn.00580960
push 0
push 0
push esi
push 0x58fea0
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x59025a
push ecx
mov ecx, esi
call fcn.0058ff40
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c1bd2
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x8c4], 0x10
jb 0x590281
push dword [ebp - 0x8d8]
call fcn.0059c050
add esp, 4
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x8c4], 0xf
mov dword [ebp - 0x8c8], 0
mov byte [ebp - 0x8d8], 0
jb 0x5902b3
push dword [ebp - 0x918]
call fcn.0059c050
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c1bd2
cmp dword [ebp - 0x1cc], 0x64
lea esi, [ebp - 0x410]
mov ecx, 0xc4
mov edi, 0x890b00
rep movsd dword es:[edi], dword [esi]
jne 0x59034e
push dword [0x890e18]
mov edx, 0x890e1d
mov byte [0x890e1c], 1
push 0x890e1f
push 0x890e1e
mov ecx, 0x890e1c
call fcn.0058c120
push dword [0x890a78]
mov edx, 0x890a7d
mov byte [0x890a7c], 1
push 0x890a7f
push 0x890a7e
mov ecx, 0x890a7c
call fcn.0058c120
add esp, 0x18
mov byte [0x88f7e1], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret
push 0x65d0fe11
lea ecx, [ebp - 0x8fc]
call fcn.00597ce0
push eax
lea ecx, [ebp - 0x930]
mov dword [ebp - 4], 6
call fcn.00580b90
push 0x890b21
lea ecx, [ebp - 0x8f0]
mov byte [ebp - 4], 7
call fcn.00580b90
push 0x34
mov byte [ebp - 4], 9
call fcn.0059c090
mov esi, eax
add esp, 4
test esi, esi
je 0x5903be
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
jmp 0x5903c0
xor esi, esi
lea eax, [ebp - 0x8f0]
cmp esi, eax
je 0x5903d6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00580960
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x930]
cmp ecx, eax
je 0x5903ed
push 0xffffffffffffffff
push 0
push eax
call fcn.00580960
push 0
push 0
push esi
push 0x58fea0
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x590243
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x8dc], 0x10
jb 0x590439
push dword [ebp - 0x8f0]
call fcn.0059c050
add esp, 4
cmp dword [ebp - 0x91c], 0x10
mov dword [ebp - 0x8dc], 0xf
mov dword [ebp - 0x8e0], 0
mov byte [ebp - 0x8f0], 0
jb 0x59024b
push dword [ebp - 0x930]
call fcn.0059c050
add esp, 4
jmp 0x59024b