Function at 0x1014c1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8b4
inc dword [0x10425f74]
push ebx
push esi
push edi
push ecx
mov byte [esp + 0x17], dl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1014c384
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x1014c384
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x1014c384
test esi, esi
je 0x1014c384
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
lea edi, [edx - 1]
mov dword [esp + 0x28], edi
test edx, edx
je 0x1014c28e
or ecx, 0xffffffff
mov dword [esp + 0x24], ebx
lea eax, [edx - 1]
mov dword [esp + 0x14], esi
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp + 8]
add ecx, eax
cmp byte [ecx], 0x3f
je 0x1014c28a
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], esi
nop word [eax + eax]
cmp ecx, eax
je 0x1014c28e
dec ecx
cmp byte [ecx], 0x3f
jne 0x1014c280
sub ecx, eax
jmp 0x1014c291
or ecx, 0xffffffff
xor esi, esi
mov dword [esp + 0x4c], 0
cmp ecx, 0xffffffff
mov eax, edx
cmovne esi, ecx
mov ecx, 1
sub eax, esi
dec eax
cmp eax, ecx
cmova ecx, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x4c]
cmp eax, dword [ecx]
jne 0x1014c2e2
push 0x400
lea eax, [esp + 0xc4]
push 0
push eax
call fcn.101618e0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x1014c2f8
mov eax, dword [esp + 0x18]
lea edi, [esp + 0xc0]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
cmp esi, edi
jae 0x1014c31a
mov ebx, dword [ebp + 8]
nop
movzx eax, byte [ebx + esi]
sub edx, esi
dec edx
inc esi
mov dword [esp + eax*4 + 0xc0], edx
mov edx, dword [ebp + 0xc]
cmp esi, edi
jb 0x1014c300
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xc0]
sub eax, dword [ebp + 0xc]
lea edi, [esp + 0x4c0]
add eax, ebx
mov ecx, 0x100
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
cmp ebx, eax
ja 0x1014c384
mov edi, dword [esp + 0x28]
mov ecx, edi
test edi, edi
js 0x1014c364
mov esi, dword [ebp + 8]
lea eax, [ebx + edi]
sub esi, ebx
mov dl, byte [esi + eax]
cmp dl, 0x3f
je 0x1014c35e
cmp byte [eax], dl
jne 0x1014c36f
dec eax
sub ecx, 1
jns 0x1014c352
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [ebx + edi]
add ebx, dword [esp + eax*4 + 0x4c0]
cmp ebx, dword [esp + 0x14]
ja 0x1014c384
mov ecx, edi
jmp 0x1014c34a
cmp byte [esp + 0x13], 0
je 0x1014c81c
cmp byte [0x101e599f], 0
mov eax, dword [0x101e5998]
mov ecx, dword [0x101e599c]
mov esi, dword [0x10217ca4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
je 0x1014c4f0
xor ebx, ebx
cmp esi, 2
jl 0x1014c4c6
movaps xmm2, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed3b0]
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 [0x101ed080]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], 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 [0x101ed080]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [esp + 0x1c], xmm1
mov edx, dword [0x10425f74]
lea ecx, [esp + 0xa8]
call fcn.10004450
mov edi, eax
mov al, byte [0x101ebc30]
mov byte [esp + 0x47], al
jmp 0x1014c50e
mov eax, 0x51eb851f
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x18], cl
inc ebx
cmp ebx, 8
jl 0x1014c4c6
jmp 0x1014c4a7
mov edx, dword [0x10425f74]
lea ecx, [esp + 0xa8]
call fcn.10004450
mov cl, byte [0x101ebc30]
mov edi, eax
mov byte [esp + 0x47], cl
movups xmm0, xmmword [0x101ebc18]
xor ebx, ebx
movups xmmword [esp + 0x2f], xmm0
movq xmm0, qword [0x101ebc28]
movq qword [esp + 0x3f], xmm0
cmp esi, 2
jl 0x1014c660
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed3b0]
movaps xmm5, xmmword [0x101ed080]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop dword [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x2f]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x2f], 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x33]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x33], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x1014c560
cmp ebx, 0x19
jge 0x1014c688
nop dword [eax]
mov eax, 0x51eb851f
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x2f], cl
inc ebx
cmp ebx, 0x19
jl 0x1014c660
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x2f]
mov dword [esp + 0xa4], 0
movups xmmword [esp + 0x90], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1014c6b0
sub ecx, edx
lea eax, [esp + 0x2f]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.100291a0
push edi
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
call fcn.1002b100
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
cmp ecx, edx
jae 0x1014c708
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
cmova eax, dword [esp + 0x50]
mov word [eax + ecx], 0x21
jmp 0x1014c719
push 0x21
push dword [esp + 0x1c]
lea ecx, [esp + 0x58]
push 1
call fcn.10029c60
movups xmm1, xmmword [esp + 0x50]
lea ecx, [esp + 0x78]
movq xmm0, qword [esp + 0x60]
movd eax, xmm1
movq qword [esp + 0x88], xmm0
cmp dword [esp + 0x8c], 0xf
push 0x30
cmova ecx, eax
lea eax, [esp + 0x1c]
push eax
push ecx
push 0
movups xmmword [esp + 0x88], xmm1
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0xf
jbe 0x1014c791
mov edx, dword [esp + 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c787
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c827
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
mov byte [esp + 0x78], 0
cmp ecx, 0xf
jbe 0x1014c7e4
mov edx, dword [esp + 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c7da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c827
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov ecx, dword [esp + 0xbc]
cmp ecx, 0xf
jbe 0x1014c81c
mov edx, dword [esp + 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c812
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c827
push ecx
push edx
call fcn.1015fe24
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10164f66
int3