Function at 0x1002f600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov dh, 0x5b
mov byte [esp + 0xa], 0
push esi
mov esi, ecx
mov byte [esp + 8], dh
mov dl, 0x3e
mov dword [esp + 0x48], esi
mov ch, dl
mov byte [esp + 0xe], 0
mov cl, 0x32
mov dword [esp + 0x2c], 0
xor cl, dh
mov dword [esp + 0x30], 0
mov al, 0x3c
mov byte [esp + 0xc], cl
mov ah, 0x35
xor al, dh
xor dl, dh
mov byte [esp + 9], al
xor ah, dh
mov byte [esp + 0xa], dl
xor ch, dh
mov byte [esp + 0xb], ah
mov byte [esp + 0xd], ch
xorps xmm0, xmm0
lea ecx, [esp + 9]
movaps xmmword [esp + 0x1c], xmm0
push edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f668
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.10002620
cmp dword [esp + 0x30], 0
mov edi, dword [esi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x1c], edi
je 0x1002f709
test edi, edi
je 0x1002f709
push 4
push edi
call esi
test eax, eax
jne 0x1002f709
mov eax, dword [edi + 0xc4]
mov dword [esp + 0xc], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1002f703
cmp esi, dword [edi + 0xc4]
jne 0x1002f6be
call fcn.1008abff
mov edi, dword [esi + 8]
test edi, edi
je 0x1002f6ea
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x1002f6d0
mov ecx, dword [ecx]
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002f739
mov edi, dword [esp + 0x1c]
cmp esi, dword [edi + 0xc4]
jne 0x1002f6fb
call fcn.1008abff
mov esi, dword [esi]
cmp esi, dword [esp + 0xc]
jne 0x1002f6b1
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor edi, edi
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1002f74b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f741
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fadd
jmp 0x1002f741
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x1002f70b
push ecx
push edx
call fcn.100859f6
add esp, 8
mov al, 0x29
mov byte [esp + 0xc], 0x48
mov ah, al
mov byte [esp + 0x13], 0
xor al, byte [esp + 0xc]
mov cl, 0x3c
mov dl, cl
mov byte [esp + 0xd], al
mov al, byte [esp + 0xc]
mov ch, 0x2b
xor cl, al
mov dword [esp + 0x30], 0
xor ch, al
mov byte [esp + 0xe], cl
mov dh, 0x23
mov byte [esp + 0x11], ch
xor dl, al
mov dword [esp + 0x34], 0xf
xor ah, al
mov byte [esp + 0xf], dl
xor dh, al
mov byte [esp + 0x20], 0
xorps xmm0, xmm0
mov byte [esp + 0x12], dh
lea ecx, [esp + 0xd]
mov byte [esp + 0x10], ah
mov byte [esp + 0x13], 0
lea edx, [ecx + 1]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f7c4
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.10002620
cmp dword [esp + 0x60], 0
je 0x1002f85a
test edi, edi
je 0x1002f85a
push 4
push edi
call esi
test eax, eax
jne 0x1002f85a
mov eax, dword [edi + 0xc4]
mov dword [esp + 0xc], eax
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
cmp esi, eax
je 0x1002f85a
cmp esi, dword [edi + 0xc4]
jne 0x1002f811
call fcn.1008abff
mov esi, dword [esi + 8]
test esi, esi
je 0x1002f83d
cmp dword [esi + 0x78], 0x10
lea ecx, [esi + 0x64]
jb 0x1002f823
mov ecx, dword [ecx]
cmp dword [esp + 0x64], 0xf
lea eax, [esp + 0x50]
cmova eax, dword [esp + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002f85c
mov esi, dword [esp + 0x1c]
cmp esi, dword [edi + 0xc4]
jne 0x1002f84e
call fcn.1008abff
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0xc]
jne 0x1002f804
xor esi, esi
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x1002f892
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f888
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fae2
push ecx
push edx
call fcn.100859f6
add esp, 8
movaps xmm0, xmmword [0x100bef30]
xor ecx, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
movups xmmword [esp + 0xc], xmm0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xe
jb 0x1002f8b5
xorps xmm0, xmm0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0xd]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
lea edx, [ecx + 1]
mov dword [esp + 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f8e7
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.10002620
cmp dword [esp + 0x30], 0
je 0x1002f979
test esi, esi
je 0x1002f979
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002f979
mov eax, dword [esi + 0xc4]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1002f979
cmp edi, dword [esi + 0xc4]
jne 0x1002f934
call fcn.1008abff
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002f964
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x1002f94a
mov ecx, dword [ecx]
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002f9af
cmp edi, dword [esi + 0xc4]
jne 0x1002f971
call fcn.1008abff
mov edi, dword [edi]
cmp edi, dword [esp + 0xc]
jne 0x1002f927
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1002f9bf
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f9b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fae7
jmp 0x1002f9b5
mov eax, dword [esp + 0x1c]
jmp 0x1002f97b
push ecx
push edx
call fcn.100859f6
add esp, 8
movaps xmm0, xmmword [str.1SE_n_EnPEEPRZ]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
nop dword [eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xe
jb 0x1002f9d0
xorps xmm0, xmm0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0xd]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
lea edx, [ecx + 1]
mov dword [esp + 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fa02
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.10002620
cmp dword [esp + 0x30], 0
je 0x1002fa94
test esi, esi
je 0x1002fa94
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fa94
mov eax, dword [esi + 0xc4]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1002fa94
cmp edi, dword [esi + 0xc4]
jne 0x1002fa4f
call fcn.1008abff
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002fa7f
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x1002fa65
mov ecx, dword [ecx]
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002fac7
cmp edi, dword [esi + 0xc4]
jne 0x1002fa8c
call fcn.1008abff
mov edi, dword [edi]
cmp edi, dword [esp + 0xc]
jne 0x1002fa42
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1002fad7
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002facd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002faec
jmp 0x1002facd
mov eax, dword [esp + 0x1c]
jmp 0x1002fa96
push ecx
push edx
call fcn.100859f6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
int3