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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x100a9040]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x24], esi
mov edx, 1
push 0xcf1bbcdc
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
add eax, ecx
mov dword [esp + 0x70], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x28]
cmovbe eax, ecx
mov edx, dword [edi + 0x54]
cmp dword [edi + 0x18], 0
push 0xbb000000
push dword [esi + 4]
cmovne eax, ecx
mov dword [esp + 0x2c], edx
push dword [esi]
mov dword [esp + 0x40], eax
mov ecx, 5
mov eax, dword [edi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x44], eax
cmovb ecx, eax
mov dword [esp + 0x84], edx
mov eax, dword [edi + 0x50]
mov edi, 3
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x60], eax
call fcn.10071fd0
mov esi, dword [esp + 0x50]
mov ecx, 0x42
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
sub ecx, dword [esi + 0xc0]
call fcn.100950f0
mov ecx, dword [esp + 0x34]
shl eax, 2
mov dword [esp + 0x54], eax
cmp ecx, 5
jbe 0x1002e91a
add ecx, 0xfffffffb
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
jmp 0x1002e922
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [esp + 8], 0x1f
cmp dword [edx + 0xdc], 0
jne 0x1002ebf3
mov edi, dword [edx + 0x1c]
mov ecx, 0x38
mov eax, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x18], edi
cmp eax, 0x180
jbe 0x1002ead0
lea eax, [edi + 0x60]
mov dword [esp + 0x64], eax
cmp edi, eax
jae 0x1002ea18
mov eax, dword [esp + 0x3c]
mov edi, ecx
sub edi, dword [esp + 0xc]
add eax, 8
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], eax
nop dword [eax]
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.100950f0
mov edi, dword [esp + 0x44]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x48]
cmp esi, dword [esp + 0x64]
jb 0x1002e990
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea ecx, [esi + 1]
mov edi, dword [esp + 0x14]
add edi, 0xffffffe0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add eax, edi
mov dword [esp + 0x18], edi
cmp eax, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x3c]
jbe 0x1002ea43
xor ecx, ecx
jmp 0x1002ea48
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, 8
mov dword [esp + 0x48], 8
cmova ecx, dword [esp + 0x48]
add ecx, edi
mov dword [esp + 0x48], ecx
cmp edi, ecx
mov ecx, 0x38
jae 0x1002ead0
sub ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.10071fd0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x38]
call fcn.100950f0
mov edx, dword [esp + 0x1c]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x1c], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp edx, edi
jb 0x1002ea80
mov esi, dword [esp + 0x24]
mov ecx, 0x38
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
cmp edi, dword [esp + 0x14]
jae 0x1002eb9f
mov esi, dword [esp + 0x18]
mov eax, ecx
sub eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x48]
call fcn.100950f0
mov edi, dword [esp + 0x44]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x64]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
mov dword [ecx + eax*4], esi
inc esi
cmp esi, edi
jb 0x1002eb10
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
jmp 0x1002eba3
mov edi, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbb000000
mov dword [edx + 0x1c], edi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10071fd0
xor eax, dword [esp + 0x68]
mov ecx, 0x38
xor edx, dword [esp + 0x20]
sub ecx, dword [esp + 0xc]
call fcn.100950f0
mov ecx, edi
mov edi, dword [esp + 0x44]
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov dword [edi + ecx*4], eax
mov edi, 3
mov ecx, dword [esp + 0x20]
jmp 0x1002ec1e
movq xmm0, qword [esp + 0x48]
mov eax, 0x38
sub eax, dword [esp + 0xc]
movq xmm1, qword [esp + 0x70]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
psrlq xmm1, xmm0
mov dword [edx + 0x1c], eax
movd ecx, xmm1
add dword [edx + 0x58], ecx
mov eax, ecx
mov esi, dword [esp + 0x2c]
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, cl
mov dword [esp + 0x44], ecx
add esi, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
movsx eax, al
mov dword [esp + 0x28], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esi]
lea esi, [esi + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 2
jl 0x1002ec80
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
shl eax, 0x10
and ecx, 0x1f
or eax, dword [esp + 0x70]
ror eax, cl
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
test eax, eax
je 0x1002ed20
mov esi, eax
xor edi, edi
nop
cmp dword [esp + 0x5c], 0
jbe 0x1002ed13
push ecx
push esi
call fcn.100218d0
add eax, dword [esp + 0x34]
add esp, 8
and eax, 0x1f
je 0x1002ecf3
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x30]
jb 0x1002ed13
mov dword [esp + edi*4 + 0x88], eax
inc edi
dec dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
mov ecx, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, eax
mov dword [esp + 0xc], ecx
ja 0x1002ecc0
jb 0x1002ed13
test esi, esi
jne 0x1002ecc0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edi
mov edi, 3
mov esi, dword [esp + 0x68]
mov eax, 0
movzx ecx, byte [esi]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x44]
mov byte [esi], cl
mov byte [ecx + esi], al
mov esi, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x24]
jbe 0x1002edb9
mov ecx, dword [esp + 0x18]
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x88]
mov edx, dword [esp + 0x3c]
add edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x1002edac
push dword [esp + 0x40]
mov ecx, esi
call fcn.1001b5f0
add esp, 4
cmp eax, edi
jbe 0x1002eda8
mov ecx, dword [esp + 0x14]
mov edi, eax
sub ecx, dword [esp + 0x20]
add eax, esi
mov edx, dword [esp + 0x60]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x40]
je 0x1002edb9
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x1002ed60
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x34], eax
sub eax, ecx
add eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, 3
cmp edx, eax
mov dword [esp + 0x2c], ecx
cmovb eax, edx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
test eax, eax
je 0x1002ee9b
mov eax, dword [esp + 0x54]
lea ecx, [eax*4]
mov dword [esp + 8], ecx
nop dword [eax + eax]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x58], eax
test eax, eax
je 0x1002ef58
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002ee7b
push dword [esp + 0x6c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x30]
push dword [esp + 0x48]
call fcn.1001b670
add esp, 0xc
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x1002ee77
mov eax, dword [esp + 0x14]
mov edi, ecx
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x40]
je 0x1002ef6e
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x30]
add ecx, 4
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x20]
jb 0x1002ee10
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
sub edx, ecx
mov esi, dword [esp + 0x54]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + esi*4 + 0xc]
mov esi, dword [esp + 0x24]
mov dword [esp + 8], eax
shr dword [esp + 8], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x1002ef58
mov eax, dword [esp + 8]
lea ecx, [eax*4]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002ef42
push dword [esp + 0x6c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x30]
push dword [esp + 0x48]
call fcn.1001b670
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x1002ef3e
mov ecx, dword [esp + 0x14]
mov edi, eax
sub ecx, dword [esp + 0x58]
add eax, esi
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x40]
je 0x1002ef58
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x54]
add ecx, 4
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0xc]
jb 0x1002eee4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret