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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x100a9040]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, edx
mov dword [esp + 0x28], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x34], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x64], edx
add edx, ecx
mov eax, edi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x7c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x24], edi
sub edi, edx
cmp eax, edx
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x54]
cmovbe edi, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne edi, ecx
mov dword [esp + 0x48], edx
mov ecx, 5
mov dword [esp + 0x4c], edi
cmp eax, ecx
mov dword [esp + 0x58], edx
push 0xbf9b0000
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x58], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x48], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edi
push dword [eax + 4]
push dword [eax]
call fcn.10071fd0
mov edi, dword [esp + 0x40]
mov ecx, 0x38
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [edi + 0x24]
call fcn.100950f0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x5c], 0x1f
lea ecx, [eax + esi]
lea eax, [edi + eax*4]
mov dword [esp + 0x78], ecx
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0xdc], 0
jne 0x1002bf4d
mov eax, dword [esp + 0x24]
mov esi, dword [edi + 0x1c]
sub eax, esi
cmp eax, 0x180
jbe 0x1002be51
lea eax, [esi + 0x60]
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x1002bdce
mov eax, 0x38
sub eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
add eax, 8
mov dword [esp + 0x50], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + esi + 4]
push dword [eax + esi]
call fcn.10071fd0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x18]
call fcn.100950f0
mov ecx, eax
mov eax, esi
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], ecx
mov edi, edx
shr edi, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x50]
cmp esi, dword [esp + 0x1c]
jb 0x1002bd50
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
add esi, 0xffffffe0
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x1c], esi
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x1002bded
xor ecx, ecx
jmp 0x1002bdf2
sub ecx, edx
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x20], ecx
cmp esi, ecx
jae 0x1002be51
mov eax, 0x38
sub eax, dword [edi + 0x24]
mov dword [esp + 0x18], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + edx + 4]
push dword [esi + edx]
call fcn.10071fd0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x18]
call fcn.100950f0
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, esi
inc esi
and eax, 7
mov dword [edi + eax*4 + 0x2c], ecx
cmp esi, dword [esp + 0x20]
jb 0x1002be12
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], ecx
cmp esi, dword [esp + 0x24]
jae 0x1002bf06
mov eax, 0x38
sub eax, dword [edi + 0x24]
mov dword [esp + 0x50], eax
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ecx + esi + 0xc]
push dword [ecx + esi + 8]
call fcn.10071fd0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x50]
call fcn.100950f0
mov ecx, eax
mov eax, esi
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], ecx
mov edi, edx
shr edi, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov dword [ecx + eax*4], esi
inc esi
mov ecx, dword [esp + 0x80]
cmp esi, dword [esp + 0x24]
jb 0x1002be80
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [edi + 0x1c], esi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.10071fd0
xor eax, dword [esp + 0x74]
mov ecx, 0x38
xor edx, dword [esp + 0x44]
sub ecx, dword [esp + 0x14]
call fcn.100950f0
mov ecx, eax
mov eax, esi
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], ecx
jmp 0x1002bf7b
movq xmm0, qword [esp + 0x50]
mov eax, 0x38
sub eax, dword [esp + 0x14]
movq xmm1, qword [esp + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x24]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
movd edx, xmm1
mov esi, dword [esp + 0x34]
mov eax, edx
add dword [edi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, dl
mov dword [esp + 0x20], ecx
add esi, eax
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], edx
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
movsx eax, al
mov dword [esp + 0x18], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [esi]
lea esi, [esi + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x1002bfe0
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
shl esi, 0x10
and ecx, 0x1f
or esi, dword [esp + 0x80]
ror esi, cl
xor ecx, ecx
mov dword [esp + 0x34], ecx
test esi, esi
je 0x1002c082
mov edi, dword [esp + 0x60]
test edi, edi
je 0x1002c078
push ecx
push esi
call fcn.100218d0
add eax, dword [esp + 0x24]
add esp, 8
and eax, 0x1f
je 0x1002c058
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x48]
jb 0x1002c078
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x14], eax
dec edi
mov eax, dword [esp + 0x34]
mov ecx, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x34]
and ecx, eax
mov dword [esp + 0x34], ecx
ja 0x1002c023
jb 0x1002c078
test esi, esi
jne 0x1002c023
mov dword [esp + 0x60], edi
xor edx, edx
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov eax, 0
movzx ecx, byte [esi]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esi], cl
mov byte [ecx + esi], al
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edi + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x1002c120
mov edi, dword [esp + 0x28]
mov esi, 3
nop
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [ecx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x1002c111
push dword [esp + 0x3c]
mov edx, ecx
mov ecx, edi
call fcn.1001b5f0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x1002c10d
mov eax, dword [esp + 0x24]
mov esi, ecx
sub eax, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x3c]
je 0x1002c11c
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x14]
jb 0x1002c0c0
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
sub ecx, eax
add dword [esp + 0x64], ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
movzx eax, byte [edx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x1002c180
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x40]
shl esi, 0x10
and ecx, 0x1f
or esi, dword [esp + 0x80]
ror esi, cl
xor edx, edx
mov dword [esp + 0x18], edx
test esi, esi
je 0x1002c2fe
mov edi, dword [esp + 0x60]
test edi, edi
je 0x1002c21a
push edx
push esi
call fcn.100218d0
add eax, dword [esp + 0x48]
add esp, 8
and eax, 0x1f
je 0x1002c1fc
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x48]
jb 0x1002c21a
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x14], eax
dec edi
mov edx, dword [esp + 0x18]
mov ecx, esi
add ecx, 0xffffffff
mov eax, edx
adc eax, 0xffffffff
and esi, ecx
and edx, eax
mov dword [esp + 0x18], edx
ja 0x1002c1c7
jb 0x1002c21a
test esi, esi
jne 0x1002c1c7
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x28]
jbe 0x1002c2fe
xor eax, eax
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x44]
add esi, eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x1002c2cb
mov ecx, dword [esp + 0x3c]
add edi, 4
add esi, 4
mov dword [esp + 0x6c], edi
mov eax, edi
mov edx, esi
sub eax, esi
add eax, dword [esp + 0x20]
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.1001b5f0
mov edi, eax
add esp, 4
lea ecx, [edi + esi]
mov esi, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x20]
jne 0x1002c298
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
push esi
lea ecx, [edi + ecx]
call fcn.1001b5f0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x30]
lea edx, [edi + 4]
cmp edx, ecx
jbe 0x1002c2d1
mov eax, dword [esp + 0x24]
mov ecx, edx
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x30], ecx
mov dword [edi], eax
mov edi, dword [esp + 0x28]
lea eax, [edx + edi]
cmp eax, esi
je 0x1002c2e8
jmp 0x1002c2d5
mov ecx, dword [esp + 0x30]
jmp 0x1002c2d5
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
jb 0x1002c230
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret