Function at 0x401600
Capabilities:
Create udp socket
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4120d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x417044]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x418ed8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, ebp
je 0x40166b
mov edx, dword [ebx + 4]
lea ecx, [ebx + 0x1648]
push ecx
mov ecx, dword [0x418edc]
push 3
push edx
mov edx, dword [0x418ed0]
push 8
push 0xcccc
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
call edi
cmp eax, 0x3e5
jne 0x401901
push 1
push ebp
push ebp
push 0x11
push 2
push 2
lea esi, [ebx + 0x1008]
call dword [sym.imp.WS2_32.dll_WSASocketW]
push 0x10
push 0x418060
mov ecx, eax
push ecx
mov dword [esi + 0x14], eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4017a3
push ebp
mov dword [esi + 0x18], ebp
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x101c]
push 4
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea eax, [esi + 0x20]
lea ecx, [esi + 0x28]
push eax
mov dword [eax], 0x618
mov dword [esi + 0x24], ecx
call fcn.00401cd0
test eax, eax
je 0x401901
push str.Globalczlogserver
push ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
lea edi, [ebx + 0x165c]
push edi
lea esi, [ebx + 0x1660]
push esi
lea ebp, [ebx + 0x1664]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
cmp dword [ebx], 0
je 0x4018ef
mov eax, dword [edi]
lea ecx, [ebx + 0x1648]
cmp ecx, eax
jne 0x4017bb
push 0
push ebp
lea esi, [ebx + 0x1c]
push esi
push eax
mov eax, dword [0x418ed0]
mov ecx, dword [eax + 0x1c]
call ecx
mov esi, dword [esi]
cmp esi, 0xffffffff
je 0x4018ef
mov edx, dword [ebx + 4]
push 0
push 3
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea edx, [ebx + 0x30]
lea esi, [ebx + 8]
mov ecx, 0xfd8
call fcn.00401c70
test eax, eax
jl 0x4018ef
mov eax, dword [0x418edc]
mov ecx, dword [0x418ed8]
push eax
push ecx
lea esi, [esp + 0x1c]
call fcn.004015a0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x418f00]
push edx
push eax
push 0x44c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4018cb
call edi
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
lea ecx, [ebx + 0x1008]
cmp ecx, eax
jne 0x40181b
mov eax, dword [ebp]
lea ecx, [ebx + 0x1030]
test eax, eax
je 0x4017f3
movzx edx, word [ecx + 6]
add edx, 8
cmp edx, eax
jne 0x4017f3
mov eax, dword [esi]
push ecx
mov ecx, dword [0x418f00]
push eax
push 0x479
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebx + 0x1008]
lea eax, [esi + 0x20]
lea edx, [esi + 0x28]
push eax
mov dword [eax], 0x618
mov dword [esi + 0x24], edx
call fcn.00401cd0
test eax, eax
je 0x4018ef
jmp 0x4018cb
cmp dword [ebp], 0
je 0x4018ef
lea ecx, [ebx + 8]
cmp ecx, eax
jne 0x4018b8
movzx eax, word [ebx + 0x36]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp]
lea edi, [ebx + 0x30]
lea ecx, [eax + edi + 8]
cmp ecx, esi
ja 0x40187e
jmp 0x401850
mov edx, dword [ebx + 0x1660]
mov eax, dword [0x418f00]
push edi
push edx
push 0x479
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [edi + 6]
movzx edx, word [edi + ecx + 0xe]
lea edi, [edi + ecx + 8]
lea eax, [edx + edi + 8]
cmp eax, esi
jbe 0x401850
mov dword [ebp], 0
cmp esi, edi
jbe 0x40189c
sub esi, edi
push esi
lea eax, [ebx + 0x30]
push edi
push eax
mov dword [ebp], esi
call fcn.0040b260
add esp, 0xc
mov eax, dword [ebp]
mov ecx, 0xfd8
sub ecx, eax
lea edx, [eax + ebx + 0x30]
lea esi, [ebx + 8]
call fcn.00401c70
test eax, eax
je 0x4018ef
jmp 0x4018cb
mov dword [edi], 0
mov dword [esi], 0
mov dword [ebp], 0
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
lea edi, [ebx + 0x165c]
push edi
lea esi, [ebx + 0x1660]
push esi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
cmp dword [ebx], 0
jne 0x401718
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret