Function at 0x58e000
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 0x5de303
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x6c2da0]
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 [0x88432c], 0
jne 0x58e393
lea eax, [ebp - 0x8c0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x58e393
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x88432c], eax
cmp eax, 0xffffffff
je 0x58e393
mov eax, 2
push 0x521
mov word [0x8840d0], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x1ae910cb
lea ecx, [ebp - 0x900]
mov word [0x8840d2], ax
call fcn.00594ba0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 8
mov dword [0x8840d4], eax
lea eax, [ebp - 0x72c]
push eax
push 0x1006
push 0xffff
push dword [0x88432c]
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 [0x88432c]
call esi
push 0x10
push 0x8840d0
push 0
push 0x310
lea eax, [ebp - 0x720]
mov dword [0x885864], 0x7d1
push eax
push dword [0x88432c]
mov ecx, 0xc4
lea edi, [ebp - 0x720]
mov esi, 0x885620
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 [0x885864], 0
push eax
push dword [0x88432c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x58e322
jmp 0x58e1d1
push 0x65d05cc1
lea ecx, [ebp - 0x8fc]
call fcn.00594c20
push eax
lea ecx, [ebp - 0x918]
mov dword [ebp - 4], 0
call fcn.005834a0
mov eax, 0x68c360
lea ecx, [ebp - 0x958]
sub eax, 0x369d3767
push eax
call fcn.00594be0
push eax
lea ecx, [ebp - 0x8d8]
mov byte [ebp - 4], 2
call fcn.005834a0
push 0x34
mov byte [ebp - 4], 5
call fcn.00598de0
mov esi, eax
add esp, 4
test esi, esi
je 0x58e253
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 0x58e255
xor esi, esi
lea eax, [ebp - 0x8d8]
cmp esi, eax
je 0x58e26b
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00583030
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x918]
cmp ecx, eax
je 0x58e282
push 0xffffffffffffffff
push 0
push eax
call fcn.00583030
push 0
push 0
push esi
push 0x58df00
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x58e2ba
push ecx
mov ecx, esi
call fcn.0058dfa0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c4500
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 0x58e2e1
push dword [ebp - 0x8d8]
call fcn.00598e00
add esp, 4
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x8c4], 0xf
mov dword [ebp - 0x8c8], 0
mov byte [ebp - 0x8d8], 0
jb 0x58e313
push dword [ebp - 0x918]
call fcn.00598e00
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c4500
cmp dword [ebp - 0x1cc], 0x64
lea esi, [ebp - 0x410]
mov ecx, 0xc4
mov edi, 0x885620
rep movsd dword es:[edi], dword [esi]
jne 0x58e3ae
push dword [0x885938]
mov edx, 0x88593d
mov byte [0x88593c], 1
push 0x88593f
push 0x88593e
mov ecx, 0x88593c
call fcn.0058a180
push dword [0x885598]
mov edx, 0x88559d
mov byte [0x88559c], 1
push 0x88559f
push 0x88559e
mov ecx, 0x88559c
call fcn.0058a180
add esp, 0x18
mov byte [0x884301], 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.005bba53
mov esp, ebp
pop ebp
ret
push 0x65d05cc1
lea ecx, [ebp - 0x8fc]
call fcn.00594c20
push eax
lea ecx, [ebp - 0x930]
mov dword [ebp - 4], 6
call fcn.005834a0
push 0x885641
lea ecx, [ebp - 0x8f0]
mov byte [ebp - 4], 7
call fcn.005834a0
push 0x34
mov byte [ebp - 4], 9
call fcn.00598de0
mov esi, eax
add esp, 4
test esi, esi
je 0x58e41e
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 0x58e420
xor esi, esi
lea eax, [ebp - 0x8f0]
cmp esi, eax
je 0x58e436
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00583030
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x930]
cmp ecx, eax
je 0x58e44d
push 0xffffffffffffffff
push 0
push eax
call fcn.00583030
push 0
push 0
push esi
push 0x58df00
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x58e2a3
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 0x58e499
push dword [ebp - 0x8f0]
call fcn.00598e00
add esp, 4
cmp dword [ebp - 0x91c], 0x10
mov dword [ebp - 0x8dc], 0xf
mov dword [ebp - 0x8e0], 0
mov byte [ebp - 0x8f0], 0
jb 0x58e2ab
push dword [ebp - 0x930]
call fcn.00598e00
add esp, 4
jmp 0x58e2ab