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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x180
mov eax, dword [0x100a8024]
xor eax, esp
mov dword [esp + 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x2c], esi
mov edx, 1
push 0xcf1bbcdc
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x64], eax
add eax, ecx
mov dword [esp + 0x78], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov edx, dword [edi + 0x54]
mov esi, dword [esp + 0x30]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
push 0xbb000000
cmovne eax, ecx
mov dword [esp + 0x44], edx
push dword [esi + 4]
mov dword [esp + 0x18], eax
mov ecx, 4
mov eax, dword [edi + 0xc4]
cmp eax, ecx
push dword [esi]
mov dword [esp + 0x44], eax
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov edi, 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov eax, 1
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x24]
shl eax, cl
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0xb4]
mov dword [esp + 0x64], eax
call fcn.10071bc0
mov esi, dword [esp + 0x54]
mov ecx, 0x42
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
sub ecx, dword [esi + 0xc0]
call fcn.10094c50
mov ecx, dword [esp + 0x34]
shl eax, 2
mov dword [esp + 0x5c], eax
cmp ecx, 4
jbe 0x1002df8d
add ecx, 0xfffffffc
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
jmp 0x1002df95
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x58], 0xf
cmp dword [ecx + 0xdc], 0
jne 0x1002e25b
mov edi, dword [ecx + 0x1c]
mov edx, 0x38
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x1c], edi
cmp eax, 0x180
jbe 0x1002e140
lea eax, [edi + 0x60]
mov dword [esp + 0x6c], eax
cmp edi, eax
jae 0x1002e088
mov eax, dword [esp + 0x40]
mov edi, edx
sub edi, dword [esp + 0x10]
add eax, 8
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.10071bc0
mov ecx, dword [esp + 0x14]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.10094c50
mov edi, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 4
mov eax, 0
and edi, 0xffffff0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x30]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x48]
cmp esi, dword [esp + 0x6c]
jb 0x1002e000
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x24]
lea edx, [esi + 1]
mov edi, dword [esp + 0x18]
add edi, 0xffffffe0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
add eax, edi
mov dword [esp + 0x1c], edi
cmp eax, edx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x40]
jbe 0x1002e0b3
xor edx, edx
jmp 0x1002e0b8
sub edx, eax
sub edx, edi
inc edx
cmp edx, 8
mov dword [esp + 0x48], 8
cmova edx, dword [esp + 0x48]
add edx, edi
mov dword [esp + 0x48], edx
cmp edi, edx
jae 0x1002e13b
mov esi, dword [esp + 0x14]
mov ecx, 0x38
sub ecx, dword [esp + 0x38]
mov edi, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
nop dword [eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.10071bc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x38]
call fcn.10094c50
mov edx, dword [esp + 0x30]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x30], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp edx, edi
jb 0x1002e0f0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, 0x38
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
cmp edi, dword [esp + 0x18]
jae 0x1002e20f
mov esi, dword [esp + 0x1c]
mov eax, edx
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.10071bc0
mov ecx, dword [esp + 0x14]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x48]
call fcn.10094c50
mov edi, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 4
mov eax, 0
and edi, 0xffffff0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x6c]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x30]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x18]
mov dword [ecx + eax*4], esi
inc esi
cmp esi, edi
jb 0x1002e180
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
jmp 0x1002e213
mov edi, dword [esp + 0x18]
push 0xcf1bbcdc
push 0xbb000000
mov dword [ecx + 0x1c], edi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10071bc0
xor eax, dword [esp + 0x70]
mov ecx, 0x38
xor edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x10]
call fcn.10094c50
mov ecx, edi
mov edi, dword [esp + 0x20]
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, 3
mov ecx, dword [esp + 0x14]
jmp 0x1002e286
movq xmm0, qword [esp + 0x48]
mov eax, 0x38
sub eax, dword [esp + 0x10]
movq xmm1, qword [esp + 0x78]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
psrlq xmm1, xmm0
mov dword [ecx + 0x1c], eax
movd edx, xmm1
add dword [ecx + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x24]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x70], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x10]
movsx eax, al
mov dword [esp + 0x58], ecx
movzx ecx, byte [edx]
and ecx, 0xf
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [edx]
mov dword [esp + 0x28], ecx
neg ecx
and ecx, 0xf
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
mov ax, dx
shl ax, cl
mov cx, word [esp + 0x28]
shr dx, cl
or ax, dx
movzx eax, ax
cdq
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
test edx, edx
jne 0x1002e313
test eax, eax
je 0x1002e37a
mov esi, dword [esp + 0x3c]
xor edi, edi
nop dword [eax]
cmp dword [esp + 0x64], 0
jbe 0x1002e371
push edx
push esi
call fcn.10021700
add eax, dword [esp + 0x30]
add esp, 8
and eax, 0xf
je 0x1002e353
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0xc]
jb 0x1002e371
mov dword [esp + edi*4 + 0x80], eax
inc edi
dec dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov ecx, esi
add ecx, 0xffffffff
mov eax, edx
adc eax, 0xffffffff
and esi, ecx
and edx, eax
mov dword [esp + 0x24], edx
ja 0x1002e320
jb 0x1002e371
test esi, esi
jne 0x1002e320
mov dword [esp + 0x1c], edi
mov edi, 3
mov edx, dword [esp + 0x70]
mov esi, 0xf
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, esi
mov esi, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x2c]
jbe 0x1002e419
mov ecx, dword [esp + 0x1c]
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x80]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x1002e40c
push dword [esp + 0x44]
mov ecx, esi
call fcn.1001b4b0
add esp, 4
cmp eax, edi
jbe 0x1002e408
mov ecx, dword [esp + 0x18]
mov edi, eax
sub ecx, dword [esp + 0x3c]
add eax, esi
mov edx, dword [esp + 0x68]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x44]
je 0x1002e419
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, ecx
jb 0x1002e3c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x64]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x34], eax
sub eax, ecx
add eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, 3
cmp edx, eax
mov dword [esp + 0x28], ecx
cmovb eax, edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1002e4fb
mov eax, dword [esp + 0x5c]
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
nop dword [eax + eax]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x60], eax
test eax, eax
je 0x1002e5b8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002e4db
push dword [esp + 0x74]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x2c]
push dword [esp + 0x4c]
call fcn.1001b530
add esp, 0xc
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x1002e4d7
mov eax, dword [esp + 0x18]
mov edi, ecx
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x44]
je 0x1002e5ce
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add ecx, 4
inc eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x3c]
jb 0x1002e470
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x54]
sub edx, ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + esi*4 + 0xc]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x1002e5b8
mov eax, dword [esp + 0xc]
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x60], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002e5a2
push dword [esp + 0x74]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x2c]
push dword [esp + 0x4c]
call fcn.1001b530
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x1002e59e
mov ecx, dword [esp + 0x18]
mov edi, eax
sub ecx, dword [esp + 0x60]
add eax, esi
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x44]
je 0x1002e5b8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
add ecx, 4
inc eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x20]
jb 0x1002e544
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x184]
pop edi
pop esi
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret