Function at 0x10002540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push 0x104
lea eax, [ebp - 0x170]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002590
push esi
push edi
sub ecx, edx
lea eax, [ebp - 0x170]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.100029e0
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x54]
mov edi, dword [ebp - 0x44]
cmp edx, 0x10
mov dword [ebp - 4], 0
mov esi, 0x104
cmovae ecx, dword [ebp - 0x54]
test edi, edi
je 0x1000266d
lea eax, [edi - 1]
mov edx, esi
cmp eax, esi
cmovb edx, eax
add edx, ecx
cmp byte [edx], 0x5c
je 0x100025ee
cmp edx, ecx
je 0x1000266a
dec edx
cmp byte [edx], 0x5c
jne 0x100025e0
sub edx, ecx
cmp edx, 0xffffffff
je 0x1000266a
lea eax, [edx + 1]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edi, eax
jae 0x10002613
call fcn.10002970
mov ecx, edi
sub edi, eax
sub ecx, edx
lea eax, [ebp - 0x54]
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x40], 0x10
push ecx
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
inc eax
add eax, edx
push eax
call fcn.100029e0
lea ecx, [ebp - 0x54]
call fcn.10002900
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 0
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
call fcn.100024e0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x19], 0x233f3f0c
xor ecx, ecx
mov dword [ebp - 0x15], 0x78273126
mov dword [ebp - 0x11], 0x3c2032
mov byte [ebp - 0xd], 1
lea eax, [ecx + 0x4f]
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 0xb
jb 0x10002688
cmp edx, 0x10
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x19]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100026c6
test dl, dl
je 0x100026c2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100026c6
add eax, 2
add ecx, 2
test dl, dl
jne 0x100026a6
xor eax, eax
jmp 0x100026cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100026d4
call fcn.100015a0
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x3c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100026f0
sub ecx, edx
lea eax, [ebp - 0x170]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.100029e0
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
test edx, edx
je 0x100027c1
lea eax, [edx - 1]
cmp eax, 0x104
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x10002743
cmp esi, ecx
je 0x100027c1
dec esi
cmp byte [esi], 0x5c
jne 0x10002735
sub esi, ecx
cmp esi, 0xffffffff
je 0x100027c1
mov ecx, edx
mov dword [ebp - 0x14], 0
sub ecx, esi
mov dword [ebp - 0x10], 0xf
lea edi, [esi - 7]
mov byte [ebp - 0x24], 0
sub ecx, 5
cmp edx, edi
jae 0x1000276f
call fcn.10002970
sub edx, edi
lea eax, [ebp - 0x3c]
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x28], 0x10
push ecx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
add eax, edi
push eax
call fcn.100029e0
lea ecx, [ebp - 0x3c]
call fcn.10002900
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
call fcn.100024e0
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x3c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100027d1
xor esi, esi
movsx eax, byte [ebp + esi - 0x6c]
push eax
call fcn.1006db9b
mov byte [ebp + esi - 0x6c], al
add esp, 4
inc esi
cmp esi, 0x18
jb 0x100027e0
pop edi
mov dword [ebp - 0x15], 0xd273e2a
xor ecx, ecx
mov dword [ebp - 0x11], 0x6c2c37
mov byte [ebp - 0xd], 1
pop esi
nop
lea eax, [ecx + 0x4f]
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 7
jb 0x10002810
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x15]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002847
test dl, dl
je 0x10002843
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002847
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002827
xor ecx, ecx
jmp 0x1000284c
sbb ecx, ecx
or ecx, 1
mov eax, dword [0x100c34b4]
test ecx, ecx
mov edx, 1
cmove eax, edx
mov dword [0x100c34b4], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1000289a
mov ecx, dword [ebp - 0x3c]
inc eax
cmp eax, 0x1000
jb 0x10002891
test cl, 0x1f
jne 0x100028f0
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100028f0
sub ecx, eax
cmp ecx, 4
jb 0x100028f0
cmp ecx, 0x23
ja 0x100028f0
mov ecx, eax
push ecx
call fcn.1002d102
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x100028e2
mov ecx, dword [ebp - 0x54]
inc eax
cmp eax, 0x1000
jb 0x100028d9
test cl, 0x1f
jne 0x100028f0
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100028f0
sub ecx, eax
cmp ecx, 4
jb 0x100028f0
cmp ecx, 0x23
ja 0x100028f0
mov ecx, eax
push ecx
call fcn.1002d102
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1006d514
int3