Function at 0x10002620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026e30
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10033080]
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.1000c150
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 0x100026a0
sub ecx, edx
lea eax, [ebp - 0x124]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.10007490
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.100073d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x100027a2
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 0x10002938
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.10007490
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x13c]
call fcn.10004810
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x10002796
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000278c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000293d
push ecx
push edx
call fcn.1000a529
add esp, 8
mov edi, dword [ebp - 0x13c]
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100027c1
xor eax, eax
sub ecx, edx
mov dword [ebp - 0x144], ecx
je 0x1000284a
cmp ecx, 0x40
jb 0x10002840
movaps xmm2, xmmword [0x1002fe00]
lea edi, [ebp - 0x20]
mov edx, ecx
and edx, 0xffffffc0
nop dword [eax + eax]
movups xmm0, xmmword [edi + eax]
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [edi + eax], xmm0
movups xmm0, xmmword [ebp + eax - 0x10]
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 0x100027f0
mov edi, dword [ebp - 0x13c]
cmp eax, ecx
jae 0x1000284a
nop dword [eax]
xor byte [ebp + eax - 0x20], 0xaa
inc eax
cmp eax, ecx
jb 0x10002840
lea edx, [ebp - 0x20]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10002850
mov eax, dword [ebp - 0x128]
sub edx, ecx
cmp eax, 0xf
lea ecx, [ebp - 0x13c]
cmova ecx, edi
cmp esi, edx
je 0x10002878
mov byte [ebp - 0x13d], 0
jmp 0x100028eb
test esi, esi
jne 0x10002885
mov byte [ebp - 0x13d], 1
jmp 0x100028eb
lea edx, [ebp - 0x20]
sub esi, 4
jb 0x100028a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100028a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10002890
cmp esi, 0xfffffffc
je 0x100028da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100028d3
cmp esi, 0xfffffffd
je 0x100028da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100028d3
cmp esi, 0xfffffffe
je 0x100028da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100028d3
cmp esi, 0xffffffff
je 0x100028da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100028da
sbb eax, eax
or eax, 1
jmp 0x100028dc
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x128]
sete byte [ebp - 0x13d]
cmp eax, 0xf
jbe 0x10002917
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000290d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000293d
push ecx
push edi
call fcn.1000a529
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.1000a4e6
mov esp, ebp
pop ebp
ret
call fcn.10006dc0
call fcn.10012927
int3