Function at 0x1002c790
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, ecx
mov dword [esp + 4], 0x5a515334
push esi
push edi
mov dword [esp + 0x38], ebx
mov dl, 0x34
mov word [esp + 0x10], 0x515d
xor ecx, ecx
mov byte [esp + 0x12], 0
nop word [eax + eax]
xor byte [esp + ecx + 0xd], dl
inc ecx
cmp ecx, 5
jae 0x1002c7d0
mov dl, byte [esp + 0xc]
jmp 0x1002c7c0
xorps xmm0, xmm0
mov byte [esp + 0x12], 0
lea ecx, [esp + 0xd]
mov dword [esp + 0x1c], 0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
lea edx, [ecx + 1]
mov dword [esp + 0x34], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c800
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10003370
cmp dword [esp + 0x30], 0
mov edi, dword [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
je 0x1002c899
test edi, edi
je 0x1002c899
push 4
push edi
call esi
test eax, eax
jne 0x1002c899
mov eax, dword [edi + 0xc4]
mov dword [esp + 0xc], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1002c893
cmp esi, dword [edi + 0xc4]
jne 0x1002c852
call fcn.1008fe40
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002c87e
cmp dword [ebx + 0x78], 0x10
lea ecx, [ebx + 0x64]
jb 0x1002c864
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 0x1002c8e0
cmp esi, dword [edi + 0xc4]
jne 0x1002c88b
call fcn.1008fe40
mov esi, dword [esi]
cmp esi, dword [esp + 0xc]
jne 0x1002c845
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.10002f50
mov eax, dword [esp + 0x1c]
push 8
push eax
mov dword [esp + 0x24], 0
call fcn.10089370
add esp, 8
mov dword [esp + 0xc], 0x13130667
mov dl, 0x67
mov dword [esp + 0x10], 0xc0406
xor ecx, ecx
nop
xor byte [esp + ecx + 0xd], dl
inc ecx
cmp ecx, 6
jae 0x1002c8e8
mov dl, byte [esp + 0xc]
jmp 0x1002c8d0
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x1002c89b
xorps xmm0, xmm0
mov byte [esp + 0x13], 0
lea ecx, [esp + 0xd]
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
lea edx, [ecx + 1]
mov dword [esp + 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c914
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.10003370
cmp dword [esp + 0x50], 0
je 0x1002c99e
test ebx, ebx
je 0x1002c99e
push 4
push ebx
call esi
test eax, eax
jne 0x1002c99e
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1002c99e
cmp edi, dword [ebx + 0xc4]
jne 0x1002c95d
call fcn.1008fe40
mov esi, dword [edi + 8]
test esi, esi
je 0x1002c989
cmp dword [esi + 0x78], 0x10
lea ecx, [esi + 0x64]
jb 0x1002c96f
mov ecx, dword [ecx]
cmp dword [esp + 0x54], 0xf
lea eax, [esp + 0x40]
cmova eax, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002c9a0
cmp edi, dword [ebx + 0xc4]
jne 0x1002c996
call fcn.1008fe40
mov edi, dword [edi]
cmp edi, dword [esp + 0xc]
jne 0x1002c950
xor esi, esi
lea ecx, [esp + 0x3c]
call fcn.10002f50
mov eax, dword [esp + 0x3c]
push 8
push eax
mov dword [esp + 0x44], 0
call fcn.10089370
movaps xmm0, xmmword [0x100ee360]
add esp, 8
movups xmmword [esp + 0xc], xmm0
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0xd]
xor al, byte [esp + 0xc]
mov byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xe
jb 0x1002c9d0
xorps xmm0, xmm0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0xd]
mov dword [esp + 0x1c], 0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
lea edx, [ecx + 1]
mov dword [esp + 0x34], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ca10
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10003370
cmp dword [esp + 0x30], 0
je 0x1002ca9e
test esi, esi
je 0x1002ca9e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ca9e
mov eax, dword [esi + 0xc4]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1002ca9e
cmp edi, dword [esi + 0xc4]
jne 0x1002ca5d
call fcn.1008fe40
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1002ca89
cmp dword [ebx + 0x78], 0x10
lea ecx, [ebx + 0x64]
jb 0x1002ca6f
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 0x1002caa0
cmp edi, dword [esi + 0xc4]
jne 0x1002ca96
call fcn.1008fe40
mov edi, dword [edi]
cmp edi, dword [esp + 0xc]
jne 0x1002ca50
xor ebx, ebx
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
mov dword [eax], ebx
call fcn.10002f50
mov eax, dword [esp + 0x1c]
push 8
push eax
mov dword [esp + 0x24], 0
call fcn.10089370
movaps xmm0, xmmword [0x100ee390]
add esp, 8
movups xmmword [esp + 0xc], xmm0
xor ecx, ecx
mov al, byte [esp + ecx + 0xd]
xor al, byte [esp + 0xc]
mov byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xe
jb 0x1002cad4
xorps xmm0, xmm0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0xd]
mov dword [esp + 0x1c], 0
movups 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 0x1002cb12
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10003370
cmp dword [esp + 0x30], 0
je 0x1002cba0
test esi, esi
je 0x1002cba0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002cba0
mov eax, dword [esi + 0xc4]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1002cba0
cmp edi, dword [esi + 0xc4]
jne 0x1002cb5f
call fcn.1008fe40
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1002cb8b
cmp dword [ebx + 0x78], 0x10
lea ecx, [ebx + 0x64]
jb 0x1002cb71
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 0x1002cba2
cmp edi, dword [esi + 0xc4]
jne 0x1002cb98
call fcn.1008fe40
mov edi, dword [edi]
cmp edi, dword [esp + 0xc]
jne 0x1002cb52
xor ebx, ebx
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
mov dword [eax + 4], ebx
call fcn.10002f50
mov eax, dword [esp + 0x1c]
push 8
push eax
mov dword [esp + 0x24], 0
call fcn.10089370
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret