Function at 0x56de00
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 0x5fe6b3
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x6e8da0]
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 [0x8a9b00], 0
jne 0x56e193
lea eax, [ebp - 0x8c0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x56e193
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x8a9b00], eax
cmp eax, 0xffffffff
je 0x56e193
mov eax, 2
push 0x521
mov word [0x8a98a0], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x1aeb672b
lea ecx, [ebp - 0x900]
mov word [0x8a98a2], ax
call fcn.005749a0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 8
mov dword [0x8a98a4], eax
lea eax, [ebp - 0x72c]
push eax
push 0x1006
push 0xffff
push dword [0x8a9b00]
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 [0x8a9b00]
call esi
push 0x10
push 0x8a98a0
push 0
push 0x310
lea eax, [ebp - 0x720]
mov dword [0x8ab144], 0x7d1
push eax
push dword [0x8a9b00]
mov ecx, 0xc4
lea edi, [ebp - 0x720]
mov esi, 0x8aaf00
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 [0x8ab144], 0
push eax
push dword [0x8a9b00]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x56e122
jmp 0x56dfd1
push 0x65d2b321
lea ecx, [ebp - 0x8fc]
call fcn.00574a20
push eax
lea ecx, [ebp - 0x918]
mov dword [ebp - 4], 0
call fcn.005629a0
mov eax, 0x6b19c0
lea ecx, [ebp - 0x958]
sub eax, 0x369d3767
push eax
call fcn.005749e0
push eax
lea ecx, [ebp - 0x8d8]
mov byte [ebp - 4], 2
call fcn.005629a0
push 0x34
mov byte [ebp - 4], 5
call fcn.005b9020
mov esi, eax
add esp, 4
test esi, esi
je 0x56e053
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 0x56e055
xor esi, esi
lea eax, [ebp - 0x8d8]
cmp esi, eax
je 0x56e06b
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00562530
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x918]
cmp ecx, eax
je 0x56e082
push 0xffffffffffffffff
push 0
push eax
call fcn.00562530
push 0
push 0
push esi
push 0x56dd00
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x56e0ba
push ecx
mov ecx, esi
call fcn.0056dda0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e4812
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 0x56e0e1
push dword [ebp - 0x8d8]
call fcn.005b9080
add esp, 4
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x8c4], 0xf
mov dword [ebp - 0x8c8], 0
mov byte [ebp - 0x8d8], 0
jb 0x56e113
push dword [ebp - 0x918]
call fcn.005b9080
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e4812
cmp dword [ebp - 0x1cc], 0x64
lea esi, [ebp - 0x410]
mov ecx, 0xc4
mov edi, 0x8aaf00
rep movsd dword es:[edi], dword [esi]
jne 0x56e1ae
push dword [0x8ab218]
mov edx, 0x8ab21d
mov byte [0x8ab21c], 1
push 0x8ab21f
push 0x8ab21e
mov ecx, 0x8ab21c
call fcn.00569f80
push dword [0x8aae84]
mov edx, 0x8aae89
mov byte [0x8aae88], 1
push 0x8aae8b
push 0x8aae8a
mov ecx, 0x8aae88
call fcn.00569f80
add esp, 0x18
mov byte [0x8a9ad1], 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.005dbd73
mov esp, ebp
pop ebp
ret
push 0x65d2b321
lea ecx, [ebp - 0x8fc]
call fcn.00574a20
push eax
lea ecx, [ebp - 0x930]
mov dword [ebp - 4], 6
call fcn.005629a0
push 0x8aaf21
lea ecx, [ebp - 0x8f0]
mov byte [ebp - 4], 7
call fcn.005629a0
push 0x34
mov byte [ebp - 4], 9
call fcn.005b9020
mov esi, eax
add esp, 4
test esi, esi
je 0x56e21e
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 0x56e220
xor esi, esi
lea eax, [ebp - 0x8f0]
cmp esi, eax
je 0x56e236
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00562530
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x930]
cmp ecx, eax
je 0x56e24d
push 0xffffffffffffffff
push 0
push eax
call fcn.00562530
push 0
push 0
push esi
push 0x56dd00
push 0
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x56e0a3
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 0x56e299
push dword [ebp - 0x8f0]
call fcn.005b9080
add esp, 4
cmp dword [ebp - 0x91c], 0x10
mov dword [ebp - 0x8dc], 0xf
mov dword [ebp - 0x8e0], 0
mov byte [ebp - 0x8f0], 0
jb 0x56e0ab
push dword [ebp - 0x930]
call fcn.005b9080
add esp, 4
jmp 0x56e0ab