Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x1002a0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.10009c70
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002650
sub ecx, edx
lea eax, [ebp - 0x124]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.100057a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x13c]
cmp dword [ebp - 0x128], 0xf
mov edi, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x12c]
cmova ecx, edi
push 2
sub esp, 8
mov edx, esi
call fcn.100056e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x1000275e
lea edx, [eax + 1]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x15c], xmm0
cmp esi, edx
jb 0x100028e6
sub esi, edx
lea eax, [ebp - 0x13c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp - 0x128], 0xf
push ecx
cmova eax, edi
lea ecx, [ebp - 0x15c]
add eax, edx
push eax
call fcn.100057a0
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x10002734
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000272a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100028eb
push ecx
push edx
call fcn.10007f9d
add esp, 8
movups xmm0, xmmword [ebp - 0x15c]
movups xmmword [ebp - 0x13c], xmm0
mov edi, dword [ebp - 0x13c]
movq xmm0, qword [ebp - 0x14c]
movq qword [ebp - 0x12c], xmm0
mov esi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xcec4dfd8
mov dword [ebp - 0x1c], 0x9899c6c6
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0xcfd2cf84
mov byte [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002780
xor eax, eax
sub ecx, edx
mov dword [ebp - 0x144], ecx
je 0x1000280a
cmp ecx, 0x40
jb 0x10002800
movaps xmm2, xmmword [0x100271e0]
lea edi, [ebp - 0x20]
mov edx, ecx
and edx, 0xffffffc0
nop word [eax + eax]
movups xmm0, xmmword [eax + edi]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + edi], xmm1
movups xmm0, xmmword [ebp + eax - 0x10]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x10], xmm1
movups xmm0, xmmword [ebp + eax]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax], xmm1
movups xmm0, xmmword [ebp + eax + 0x10]
xorps xmm0, xmm2
movups xmmword [ebp + eax + 0x10], xmm0
add eax, 0x40
cmp eax, edx
jb 0x100027b0
mov edi, dword [ebp - 0x13c]
cmp eax, ecx
jae 0x1000280a
nop dword [eax]
xor byte [ebp + eax - 0x20], 0xaa
inc eax
cmp eax, ecx
jb 0x10002800
lea edx, [ebp - 0x20]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10002810
sub edx, ecx
cmp dword [ebp - 0x128], 0xf
lea ecx, [ebp - 0x13c]
cmova ecx, edi
cmp esi, edx
jne 0x1000288c
lea edx, [ebp - 0x20]
sub esi, 4
jb 0x10002846
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000284b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10002835
cmp esi, 0xfffffffc
je 0x1000287f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10002878
cmp esi, 0xfffffffd
je 0x1000287f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10002878
cmp esi, 0xfffffffe
je 0x1000287f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10002878
cmp esi, 0xffffffff
je 0x1000287f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000287f
sbb eax, eax
or eax, 1
jmp 0x10002881
xor eax, eax
mov byte [ebp - 0x13d], 1
test eax, eax
je 0x10002893
mov byte [ebp - 0x13d], 0
mov eax, dword [ebp - 0x128]
cmp eax, 0xf
jbe 0x100028c5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100028bb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100028eb
push ecx
push edi
call fcn.10007f9d
add esp, 8
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007f5a
mov esp, ebp
pop ebp
ret
call fcn.10004c20
call fcn.1000e6df
int3