Function at 0x4318e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x821952
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x188], edi
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x184], eax
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 0
xor esi, esi
movups xmm0, xmmword [str.zMTxPRMZ_]
mov cx, word [0x8fece0]
mov word [ebp - 0x18], cx
movups xmmword [ebp - 0x28], xmm0
nop dword [eax + eax]
mov eax, 0x4d4873ed
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x35
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x28], cx
inc esi
cmp esi, 9
jl 0x431970
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x28]
push eax
call fcn.005da99e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0x179], al
mov dword [ebp - 4], 0xffffffff
call fcn.005da8d8
cmp byte [ebp - 0x179], 0
je 0x431a39
lea ecx, [edi + 0xcb0]
call fcn.00479710
test eax, eax
je 0x431ed4
mov eax, dword [0x181cbec]
cmp dword [eax + 0x5b8], 4
jne 0x4319f9
push 1
lea ecx, [edi + 0xcb0]
call fcn.0047a160
mov eax, dword [0x181cbec]
mov ecx, dword [eax + 0x818]
cmp ecx, 1
jne 0x431a0e
push 0x2bc
jmp 0x431ecd
cmp ecx, 2
jne 0x431a1d
push 0x320
jmp 0x431ecd
cmp dword [eax + 0x5b8], 4
mov ecx, edi
jne 0x431a2f
push 0x64
jmp 0x431ecf
push 0x384
jmp 0x431ecf
mov ecx, dword [ebp - 0x184]
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 1
xor esi, esi
mov ecx, dword [0x8fecc8]
movq xmm0, qword [0x8fecc0]
mov dword [ebp - 0x1c], ecx
mov cx, word [0x8feccc]
movq qword [ebp - 0x24], xmm0
mov word [ebp - 0x18], cx
mov eax, 0x4d4873ed
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x35
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x24], cx
inc esi
cmp esi, 7
jl 0x431a83
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x24]
push eax
call fcn.005da99e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0x179], al
mov dword [ebp - 4], 0xffffffff
call fcn.005da8d8
cmp byte [ebp - 0x179], 0
je 0x431af1
push 0
push 0xf020
push 0x112
mov ecx, edi
call fcn.005f0386
jmp 0x431ed4
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 2
xor esi, esi
mov ecx, dword [0x8fecb8]
movups xmm0, xmmword [str.mpjISIQj]
mov dword [ebp - 0x1c], ecx
mov cx, word [0x8fecbc]
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x18], cx
nop dword [eax]
mov eax, 0x4d4873ed
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x35
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x2c], cx
inc esi
cmp esi, 0xb
jl 0x431b40
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x2c]
push eax
call fcn.005da99e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0x179], al
mov dword [ebp - 4], 0xffffffff
call fcn.005da8d8
cmp byte [ebp - 0x179], 0
je 0x431bfd
lea eax, [ebp - 0x180]
mov dword [ebp - 0x180], edi
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00432510
push eax
mov dword [ebp - 4], 3
call fcn.004320c0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x431ed4
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x431ed4
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x431bf2
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x431ed4
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x431ed4
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 5
xor esi, esi
movups xmm0, xmmword [str.mpi_O_W_]
mov cx, word [0x8fec98]
mov word [ebp - 0x18], cx
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov eax, 0x4d4873ed
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x35
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x28], cx
inc esi
cmp esi, 9
jl 0x431c40
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x28]
push eax
call fcn.005da99e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0x179], al
mov dword [ebp - 4], 0xffffffff
call fcn.005da8d8
cmp byte [ebp - 0x179], 0
je 0x431ed4
call fcn.00469230
test eax, eax
je 0x431ec3
cmp dword [edi + 0x7e8], 0
je 0x431ec3
call fcn.0041c370
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x108]
lea eax, [ebp - 0x178]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 4]
call edx
mov dword [ebp - 4], 6
lea edi, [ebp - 0xf0]
movups xmm0, xmmword [0x8fec4c]
mov esi, eax
mov ecx, 0x21
mov ax, word [0x8fec84]
rep movsd dword es:[edi], dword [esi]
movups xmmword [ebp - 0x68], xmm0
xor ecx, ecx
cmp dword [0x1816094], 2
movups xmm0, xmmword [0x8fec5c]
mov word [ebp - 0x30], ax
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [0x8fec6c]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [0x8fec7c]
movq qword [ebp - 0x38], xmm0
jl 0x431e50
movaps xmm4, xmmword [0x9036b0]
mov eax, 4
movaps xmm3, xmmword [0x903750]
movaps xmm6, xmmword [0x9036e0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x68]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x68], 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
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x60]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x60], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x431d60
cmp ecx, 0x1d
jge 0x431e76
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x35
sub edx, eax
add edx, 0x38
xor word [ebp + ecx*2 - 0x68], dx
inc ecx
cmp ecx, 0x1d
jl 0x431e50
push dword [ebp - 0x180]
lea eax, [ebp - 0x68]
mov ecx, 0x21
sub esp, 0x84
lea esi, [ebp - 0xf0]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push eax
push str.http:__api.nasyeo.com_log_close
push dword [0x181cbec]
call fcn.00469e40
add esp, 0x94
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.005da8d8
mov edi, dword [ebp - 0x188]
call fcn.00479d10
push 0x190
mov ecx, edi
call fcn.005f00a6
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.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4