Function at 0x1015a190
Capabilities:
Encode data using xor
Terminate process

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 0x102cdec3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x1066bbc0]
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, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x106d5adc]
nop dword [eax]
mov eax, dword [0x10652b44]
movq xmm0, qword [0x10652b3c]
mov dword [ebp - 0x28], eax
mov ax, word [0x10652b48]
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
test ah, ah
je 0x1015a32a
xor ecx, ecx
cmp edx, 2
jl 0x1015a301
movaps xmm2, xmmword [0x106544f0]
mov ecx, 8
movaps xmm3, xmmword [0x10654990]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654550]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
movd xmm0, dword [0x10652b3c]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654650]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x30], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654550]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
movd xmm0, dword [ebp - 0x2c]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654650]
xorps xmm1, xmm0
movd dword [ebp - 0x2c], xmm1
mov eax, 0x4d4873ed
imul ecx
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
mov al, 1
sub al, dl
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 0xe
jl 0x1015a301
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a345
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10053700
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x48]
mov esi, eax
cmp ecx, 0xf
jbe 0x1015a3a3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015a399
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a82f
push ecx
push edx
call fcn.102c1b57
add esp, 8
test esi, esi
jne 0x1015a3b3
push 0x1388
call edi
jmp 0x1015a1d7
cmp byte [0x10652bf7], 0
movups xmm0, xmmword [0x10652be0]
mov edi, dword [0x106d5adc]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [0x10652bf0]
movq qword [ebp - 0x64], xmm0
je 0x1015a53d
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp edi, 2
jl 0x1015a510
movaps xmm0, xmmword [0x10654650]
lea esi, [ebp - 0x70]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm0, ecx
lea eax, [ecx + 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x74]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x74], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x1015a412
jmp 0x1015a53d
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x34]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x74], al
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 0x18
jl 0x1015a510
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a560
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.10053700
mov dword [ebp - 4], 0
lea esi, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0xf
mov eax, dword [0x10652b44]
cmova esi, dword [ebp - 0x8c]
movq xmm0, qword [0x10652b3c]
mov dword [ebp - 0x28], eax
mov ax, word [0x10652b48]
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
test ah, ah
je 0x1015a6ed
xor ecx, ecx
mov dword [ebp - 0x40], ecx
cmp edi, 2
jl 0x1015a6c0
movaps xmm2, xmmword [0x106544f0]
mov ecx, 8
movaps xmm4, xmmword [0x10654990]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10654650]
movaps xmm0, xmm1
mov dword [ebp - 0x40], ecx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654550]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x10652b3c]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x30], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654550]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x2c]
xorps xmm1, xmm0
movd dword [ebp - 0x2c], xmm1
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x40]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x30], al
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, 0xe
jl 0x1015a6c0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a708
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10053700
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1015a83f
mov eax, dword [ecx + 0x3c]
xorps xmm0, xmm0
push esi
mov eax, dword [eax + ecx + 0x50]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x2c]
push eax
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call fcn.10158ce0
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub edi, esi
sar edi, 2
sub dword [ebp - 0x40], edi
je 0x1015a802
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x34], eax
test edi, edi
je 0x1015a7bd
mov eax, dword [ebp - 0x44]
add eax, edx
mov dword [ebp - 0x38], eax
nop dword [eax]
movzx eax, byte [eax + ecx]
mov edx, dword [esi + ecx*4]
cmp eax, edx
je 0x1015a7a0
cmp edx, 0xffffffff
jne 0x1015a7aa
inc ecx
cmp ecx, edi
jae 0x1015a7c1
mov eax, dword [ebp - 0x38]
jmp 0x1015a790
mov edx, dword [ebp - 0x34]
inc edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
cmp edx, dword [ebp - 0x40]
jae 0x1015a802
xor ecx, ecx
jmp 0x1015a785
xor eax, eax
jmp 0x1015a7c4
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x44]
add edi, eax
test esi, esi
je 0x1015a841
mov eax, dword [ebp - 0x24]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1015a7f6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a82f
push ecx
push esi
call fcn.102c1b57
add esp, 8
jmp 0x1015a841
test esi, esi
je 0x1015a83f
mov eax, dword [ebp - 0x24]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1015a835
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015a835
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.102c1b57
add esp, 8
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1015a875
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015a86b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a8b7
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1015a8c7
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015a8bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015a8bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
test edi, edi
jne 0x1015aafe
lea eax, [ebp - 0x40]
push eax
call fcn.1015ab70
mov edi, eax
cmp byte [edi + 5], 0
je 0x1015a913
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, 0x3521cfb3
lea esi, [ecx + edi]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x35
xor byte [esi], cl
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, 6
jl 0x1015a8e5
push edi
lea ecx, [ebp - 0xbc]
call fcn.10052420
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100521f0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1015ab50
mov edi, eax
cmp byte [edi + 0x13], 0
je 0x1015aabf
xor ecx, ecx
cmp dword [0x106d5adc], 2
mov dword [ebp - 0x34], ecx
jl 0x1015aa91
movaps xmm0, xmmword [0x10654650]
mov esi, 4
movaps xmm4, xmmword [0x106544f0]
mov edx, edi
movaps xmm3, xmmword [0x10654990]
sub esi, edi
movaps xmm5, xmmword [0x10654550]
movaps xmmword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x30]
nop word [eax + eax]
movd xmm0, ecx
add ecx, 8
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x30]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
xorps xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x10
jl 0x1015a990
mov dword [ebp - 0x34], ecx
cmp ecx, 0x14
jge 0x1015aabf
mov eax, 0x4d4873ed
lea esi, [ecx + edi]
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x34]
movsx eax, al
imul eax, eax, 0x35
add al, cl
inc ecx
xor byte [esi], al
mov dword [ebp - 0x34], ecx
cmp ecx, 0x14
jl 0x1015aa91
push edi
lea ecx, [ebp - 0xa4]
call fcn.10052420
mov ecx, eax
call fcn.100521f0
push 0x10
push dword [ebp - 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0xa4]
call fcn.10052380
lea ecx, [ebp - 0xbc]
call fcn.10052380
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [edi + 0x3e]
mov dword [0x1070dc90], ecx
test ecx, ecx
jne 0x1015ab0f
xor eax, eax
jmp 0x1015ab17
mov eax, dword [ecx + 1]
add eax, 5
add eax, ecx
sub esp, 0x10
mov dword [0x1070cbf4], eax
call fcn.10158e00
mov dword [0x1070cbf0], eax
mov al, 1
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.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret