Function at 0x1000e510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0x1003979
xor ecx, ecx
nop
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x1000e520
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
push eax
call esi
add esp, 0xc
mov dword [ebp - 4], 0x1003979
xor ecx, ecx
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x1000e551
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x14]
push eax
call esi
movaps xmm0, xmmword [str.rsq6]
add esp, 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x6000442
xor ecx, ecx
mov word [ebp - 0x28], 0x100
nop dword [eax]
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0x14
jb 0x1000e590
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e5c0
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.100029e0
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov dword [ebp - 0x1e], 0x82c3e0f
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x1a], 0xb160509
mov word [ebp - 0x16], 0x100
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x1000e5f7
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
nop
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e620
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0xc]
push edx
push eax
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x32]
push eax
call esi
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov dword [ebp - 0x1f], 0x172c3e0f
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x1b], 0xb050805
mov word [ebp - 0x17], 0x10
mov byte [ebp - 0x15], 1
nop dword [eax + eax]
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 9
jb 0x1000e670
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e698
push edx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x1f]
push eax
lea eax, [ebp - 0x32]
push eax
call esi
cmp dword [ebp + 0x10], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x21], 0x3332281a
mov dword [ebp - 0x1d], 0x37100233
mov dword [ebp - 0x19], 0x3151d
mov byte [ebp - 0x15], 1
mov word [ebp + 0x11], 0x31
mov byte [ebp + 0x13], 0
je 0x1000e7a2
cmp dword [ebp - 0x40], 0x10
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x1000e6f2
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
nop word [eax + eax]
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e720
push edx
lea eax, [ebp + 0x11]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x21]
push eax
lea eax, [ebp - 0x32]
push eax
call esi
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
movaps xmm0, xmmword [0x100a1920]
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
mov word [ebp + 0x11], 0x34
mov byte [ebp + 0x13], 0
movups xmmword [ebp - 0x26], xmm0
mov word [ebp - 0x16], 0x100
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x10
jb 0x1000e768
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e790
jmp 0x1000e855
cmp dword [ebp - 0x40], 0x10
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0xb
jb 0x1000e7b0
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e7d8
push edx
lea eax, [ebp + 0x11]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x21]
push eax
lea eax, [ebp - 0x32]
push eax
call esi
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
movaps xmm0, xmmword [0x100a1920]
cmovae edx, dword [ebp - 0x54]
xor ecx, ecx
mov word [ebp + 0x11], 0x32
mov byte [ebp + 0x13], 0
movups xmmword [ebp - 0x26], xmm0
mov word [ebp - 0x16], 0x100
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x10
jb 0x1000e820
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x32], 0x3a2c3e0f
mov dword [ebp - 0x2e], 0xc2f0f05
mov dword [ebp - 0x2a], 0x1000000
lea eax, [ecx + 0x5c]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 0xa
jb 0x1000e848
push edx
lea eax, [ebp + 0x11]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x32]
push eax
call esi
mov eax, dword [ebp - 0x40]
pop esi
cmp eax, 0x10
jb 0x1000e89f
mov ecx, dword [ebp - 0x54]
inc eax
cmp eax, 0x1000
jb 0x1000e896
test cl, 0x1f
jne 0x1000e8a3
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000e8a3
sub ecx, eax
cmp ecx, 4
jb 0x1000e8a3
cmp ecx, 0x23
ja 0x1000e8a3
mov ecx, eax
push ecx
call fcn.1002d102
add esp, 4
mov esp, ebp
pop ebp
ret
call fcn.1006d514
int3