Function at 0x10179d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8b4
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x8b0], eax
inc dword [0x103da344]
push ebx
push esi
push edi
push ecx
mov byte [esp + 0x13], dl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10179ec0
push 0xc
lea ecx, [esp + 0x42c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x10179ec0
mov eax, dword [esp + 0x428]
mov esi, dword [esp + 0x42c]
test eax, eax
je 0x10179ec0
test esi, esi
je 0x10179ec0
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
lea edi, [edx - 1]
mov dword [esp + 0x1c], edi
test edx, edx
je 0x10179dbf
or ecx, 0xffffffff
mov dword [esp + 0x18], ebx
lea eax, [edx - 1]
mov dword [esp + 0x10], esi
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp + 8]
add ecx, eax
cmp byte [ecx], 0x3f
je 0x10179dbb
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], esi
cmp ecx, eax
je 0x10179dbf
dec ecx
cmp byte [ecx], 0x3f
jne 0x10179db1
sub ecx, eax
jmp 0x10179dc2
or ecx, 0xffffffff
xor esi, esi
mov dword [esp + 0x24], 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 + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x24]
cmp eax, dword [ecx]
jne 0x10179e10
push 0x400
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.1018f850
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x10179e23
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x28]
mov ecx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
cmp esi, edi
jae 0x10179e47
mov ebx, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [ebx + esi]
sub edx, esi
dec edx
inc esi
mov dword [esp + eax*4 + 0x28], edx
mov edx, dword [ebp + 0xc]
cmp esi, edi
jb 0x10179e30
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x28]
sub eax, dword [ebp + 0xc]
lea edi, [esp + 0x4b8]
add eax, ebx
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
cmp ebx, eax
ja 0x10179ec0
mov edi, dword [esp + 0x1c]
mov ecx, edi
test edi, edi
js 0x10179e92
mov esi, dword [ebp + 8]
lea eax, [ebx + edi]
sub esi, ebx
nop dword [eax]
mov dl, byte [esi + eax]
cmp dl, 0x3f
je 0x10179e8c
cmp byte [eax], dl
jne 0x10179eab
dec eax
sub ecx, 1
jns 0x10179e80
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [ebx + edi]
add ebx, dword [esp + eax*4 + 0x4b8]
cmp ebx, dword [esp + 0x10]
ja 0x10179ec0
mov ecx, edi
jmp 0x10179e74
cmp byte [esp + 0xf], 0
je 0x1017a2be
mov ax, word [0x101e0a60]
movq xmm0, qword [0x101e0a58]
movq qword [esp + 0x428], xmm0
mov word [esp + 0x430], ax
test ah, ah
je 0x10179f3e
xor ebx, ebx
mov eax, 0x1f7047dd
mov cl, bl
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x428], cl
inc ebx
cmp ebx, 0xa
jl 0x10179ef0
mov edx, dword [0x103da344]
lea ecx, [esp + 0x4a0]
call fcn.10003c20
mov esi, eax
mov al, byte [0x101e92c4]
mov byte [esp + 0x44c], al
jmp 0x10179f5f
mov edx, dword [0x103da344]
lea ecx, [esp + 0x4a0]
call fcn.10003c20
mov cl, byte [0x101e92c4]
mov esi, eax
mov byte [esp + 0x44c], cl
movups xmm0, xmmword [str.rT____]
xor ebx, ebx
cmp dword [0x10214510], 2
movups xmmword [esp + 0x434], xmm0
movq xmm0, qword [0x101e92bc]
movq qword [esp + 0x444], xmm0
jl 0x1017a0d0
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eac50]
movaps xmm5, xmmword [0x101ea8b0]
movaps xmmword [esp + 0x450], xmm0
mov ecx, dword [esp + 0x450]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x434]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x434], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x438]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x438], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x10179fc0
cmp ebx, 0x19
jge 0x1017a0fd
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x434], cl
inc ebx
cmp ebx, 0x19
jl 0x1017a0d0
xorps xmm0, xmm0
mov dword [esp + 0x498], 0
lea ecx, [esp + 0x434]
mov dword [esp + 0x49c], 0
movups xmmword [esp + 0x488], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017a128
sub ecx, edx
lea eax, [esp + 0x434]
push ecx
push eax
lea ecx, [esp + 0x490]
call fcn.10026920
push esi
lea eax, [esp + 0x48c]
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x45c]
call fcn.10028910
mov ecx, dword [esp + 0x460]
mov edx, dword [esp + 0x464]
cmp ecx, edx
jae 0x1017a195
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [esp + 0x460], eax
lea eax, [esp + 0x450]
cmova eax, dword [esp + 0x450]
mov word [eax + ecx], 0x21
jmp 0x1017a1a9
push 0x21
push dword [esp + 0x18]
lea ecx, [esp + 0x458]
push 1
call fcn.10027400
movups xmm1, xmmword [esp + 0x450]
lea ecx, [esp + 0x470]
movq xmm0, qword [esp + 0x460]
movd eax, xmm1
movq qword [esp + 0x480], xmm0
cmp dword [esp + 0x484], 0xf
push 0x30
cmova ecx, eax
lea eax, [esp + 0x42c]
push eax
push ecx
push 0
movups xmmword [esp + 0x480], xmm1
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x484]
cmp ecx, 0xf
jbe 0x1017a230
mov edx, dword [esp + 0x470]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1017a226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1017a2d7
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x49c]
mov dword [esp + 0x480], 0
mov dword [esp + 0x484], 0xf
mov byte [esp + 0x470], 0
cmp ecx, 0xf
jbe 0x1017a286
mov edx, dword [esp + 0x488]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1017a27c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1017a2d7
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x4b4]
cmp ecx, 0xf
jbe 0x1017a2be
mov edx, dword [esp + 0x4a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1017a2b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1017a2d7
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x8bc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 8
call fcn.10192ed6
int3