Function at 0x1002bfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0x2a300644
push edi
mov cl, 0x44
mov dword [esp + 0x10], 0x342d121b
mov dword [esp + 0x14], 0x28312512
xor eax, eax
mov word [esp + 0x18], 0x30
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x1002c001
mov cl, byte [esp + 0xc]
jmp 0x1002bff1
cmp byte [esp + 0xd], 0
mov byte [esp + 0x19], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x1002c026
xor ecx, ecx
jmp 0x1002c039
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c030
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x28]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10018040
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002c06a
inc eax
push eax
push dword [esp + 0x24]
call fcn.100026b0
push 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002c080
mov dword [esi + 4], 0
mov byte [esp + 0xc], 0x2c
mov al, 0x4d
xor al, byte [esp + 0xc]
mov cl, 0x5f
mov bh, 0x4e
mov byte [esp + 0xe], al
mov al, byte [esp + 0xc]
mov dh, cl
xor bh, byte [esp + 0xc]
mov dl, 0x49
mov bl, 0x73
mov byte [esp + 0x15], 0
mov ah, 0x4f
mov byte [esp + 0xd], bh
mov ch, 0x43
mov byte [esp + 0x15], 0
xor cl, al
mov dword [esp + 0x34], 0xf
xor dl, al
mov byte [esp + 0xf], cl
xor bl, al
mov byte [esp + 0x10], dl
xor ah, al
mov byte [esp + 0x11], bl
xor ch, al
mov byte [esp + 0x12], ah
xor dh, al
mov byte [esp + 0x13], ch
mov byte [esp + 0x14], dh
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
test bh, bh
jne 0x1002c0f4
xor ecx, ecx
jmp 0x1002c109
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c100
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x28]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10018040
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002c13a
inc eax
push eax
push dword [esp + 0x24]
call fcn.100026b0
movaps xmm0, xmmword [0x1007aff0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
nop dword [eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x1002c150
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x1002c183
xor ecx, ecx
jmp 0x1002c199
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c190
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x28]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10018040
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002c1ca
inc eax
push eax
push dword [esp + 0x24]
call fcn.100026b0
movaps xmm0, xmmword [0x1007aad0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x2735
mov byte [esp + 0x1e], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x11
jb 0x1002c1e4
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x1002c217
xor ecx, ecx
jmp 0x1002c229
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c220
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x28]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10018040
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002c25a
inc eax
push eax
push dword [esp + 0x24]
call fcn.100026b0
movaps xmm0, xmmword [0x1007a720]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x3527
mov byte [esp + 0x1e], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x11
jb 0x1002c274
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x1002c2a7
xor ecx, ecx
jmp 0x1002c2b9
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c2b0
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x28]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10018040
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002c2ea
inc eax
push eax
push dword [esp + 0x24]
call fcn.100026b0
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push dword [esi + 8]
call ebx
test eax, eax
je 0x1002c302
mov dword [esi + 8], 0
push 4
push dword [esi + 0xc]
call ebx
test eax, eax
je 0x1002c314
mov dword [esi + 0xc], 0
push 4
push dword [esi + 0x10]
call ebx
test eax, eax
je 0x1002c326
mov dword [esi + 0x10], 0
push 4
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x1002c338
mov dword [esi + 0x14], 0
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1002c365
cmp dword [0x1008ac7c], 0
push 4
push edi
je 0x1002c355
call ebx
test eax, eax
jne 0x1002c365
push 3
jmp 0x1002c35d
call ebx
test eax, eax
jne 0x1002c365
push 2
mov ecx, edi
call dword [0x100785dc]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1002c392
cmp dword [0x1008ac80], 0
push 4
push edi
je 0x1002c382
call ebx
test eax, eax
jne 0x1002c392
push 3
jmp 0x1002c38a
call ebx
test eax, eax
jne 0x1002c392
push 2
mov ecx, edi
call dword [0x100785dc]
cmp dword [esi + 0x14], 0
je 0x1002c3f2
cmp dword [0x1008ac84], 0
mov eax, 0xeb
mov ecx, 0x74
cmovne eax, ecx
mov byte [0x427dcd], al
cmp dword [0x1008ac84], 0
mov esi, dword [esi + 0x14]
je 0x1002c3db
test esi, esi
je 0x1002c3f2
push 4
push esi
call ebx
test eax, eax
jne 0x1002c3f2
push 3
mov ecx, esi
call dword [0x100785dc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1002c3f2
push 4
push esi
call ebx
test eax, eax
jne 0x1002c3f2
push 2
mov ecx, esi
call dword [0x100785dc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret