Function at 0x404cb0
Capabilities:
Create udp socket
Encode data using xor
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x45474d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c4]
mov esi, ecx
cmp dword [esi + 0x3c], 0
jne 0x404d01
xor eax, eax
jmp 0x40500a
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x404cfa
mov ecx, esi
call fcn.00405040
test eax, eax
jge 0x404d31
mov eax, 0x80004005
jmp 0x40500a
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x404d4f
mov esi, 0x80004005
jmp 0x405008
movzx eax, word [esi + 0x1c]
mov edx, dword [esi + 0x40]
mov ecx, 2
push eax
mov word [esp + 0x184], cx
mov dword [esp + 0x188], edx
call sub.WS2_32.dll_htons
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov word [esp + 0x182], ax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], 0
je 0x404ff5
add esi, 0x20
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x18]
push edx
mov eax, ebp
call fcn.00405300
push eax
lea ecx, [esp + 0x194]
call fcn.00402c40
mov dword [esp + 0x1bc], 0
mov edi, dword [esp + 0x1a4]
cmp edi, 0x5aa
jbe 0x404dde
mov edi, 0x5aa
lea eax, [esp + 0x7c]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push 2
mov ecx, 0x45a960
call fcn.00404720
lea esi, [esp + 0xd4]
call fcn.00401900
push eax
mov byte [esp + 0x1c4], 1
call fcn.00401c70
mov byte [esp + 0x1bc], 2
cmp dword [eax + 0x18], 0x10
jb 0x404e25
mov ebx, dword [eax + 4]
jmp 0x404e28
lea ebx, [eax + 4]
push edi
xor ecx, ecx
lea esi, [esp + 0x9c]
lea edx, [esp + 0x194]
call fcn.004052b0
push eax
lea ecx, [esp + 0x64]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x48], esp
push 4
mov ecx, 0x45a964
mov byte [esp + 0x1e4], 3
call fcn.00404720
lea esi, [esp + 0x130]
call fcn.00401900
mov ecx, eax
mov byte [esp + 0x1c4], 4
call fcn.00401db0
mov byte [esp + 0x1c0], 5
cmp dword [eax + 0x18], 0x10
jb 0x404e8f
mov eax, dword [eax + 4]
jmp 0x404e92
add eax, 4
mov edx, dword [esp + 0x24]
push edx
mov edi, eax
lea esi, [esp + 0x4c]
call fcn.00405a10
add esp, 4
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0x1c4], 6
call fcn.00405ac0
push eax
mov edi, ebx
lea esi, [esp + 0x170]
mov byte [esp + 0x1c8], 7
call fcn.00405a10
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.00402c70
lea ecx, [esp + 0x44]
call fcn.00402c70
lea ecx, [esp + 0x60]
call fcn.00402c70
lea esi, [esp + 0x10c]
call fcn.00429050
lea ecx, [esp + 0x98]
call fcn.00402c70
lea ecx, [esp + 0x7c]
call fcn.00402c70
lea esi, [esp + 0xb4]
mov byte [esp + 0x1bc], 0xf
call fcn.00429050
mov eax, dword [esp + 0x178]
xor edi, edi
test eax, eax
jbe 0x404f5b
mov edi, edi
lea eax, [esp + 0x164]
call fcn.00405280
mov bl, byte [eax]
lea eax, [esp + 0x164]
xor bl, 0xc
call fcn.00402d20
mov byte [eax], bl
mov eax, dword [esp + 0x178]
inc edi
cmp edi, eax
jb 0x404f30
cmp dword [esp + 0x17c], 0x10
mov ecx, dword [esp + 0x168]
jae 0x404f73
lea ecx, [esp + 0x168]
push pe_nt_image_headers32
lea edx, [esp + 0x184]
push edx
push 0
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
call sub.WS2_32.dll_sendto
or esi, 0xffffffff
lea ecx, [esp + 0x164]
cmp eax, esi
je 0x404fdd
call fcn.00402c70
lea ecx, [esp + 0x190]
mov dword [esp + 0x1bc], esi
call fcn.00402c70
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
mov dword [esp + 0x18], esi
cmp esi, ecx
jb 0x404da6
jmp 0x404ff5
call fcn.00402c70
lea ecx, [esp + 0x190]
mov dword [esp + 0x1bc], esi
call fcn.00402c70
mov eax, ebp
call fcn.004053a0
mov edx, dword [esp + 0x1c]
push edx
xor esi, esi
call sub.WS2_32.dll_closesocket
mov eax, esi
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x1ac
ret 4