Function at 0x1002edb0
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 [0x100a8024]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], 3
mov esi, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], esi
mov edx, 1
push 0xcf1bbcdc
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x68], eax
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x44]
mov edx, dword [edi + 0x54]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
push 0xbb000000
push dword [esi + 4]
cmovne eax, ecx
mov dword [esp + 0x48], edx
push dword [esi]
mov dword [esp + 0x20], eax
mov ecx, 6
mov eax, dword [edi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x94], edx
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x5c], eax
call fcn.10071bc0
mov esi, dword [esp + 0x4c]
mov ecx, 0x42
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
sub ecx, dword [esi + 0xc0]
call fcn.10094c50
mov ecx, dword [edi + 0xc4]
shl eax, 2
mov dword [esp + 0x60], eax
cmp ecx, 6
jbe 0x1002eeed
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
jmp 0x1002eef5
mov dword [esp + 0x5c], 0
cmp dword [edi + 0xdc], 0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], 0x3f
jne 0x1002f1a2
mov edi, dword [edi + 0x1c]
mov ecx, 0x38
mov eax, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x20], edi
cmp eax, 0x180
jbe 0x1002f09c
lea eax, [edi + 0x60]
mov dword [esp + 0x14], eax
cmp edi, eax
jae 0x1002efe4
mov eax, dword [esp + 0x44]
mov edi, ecx
sub edi, dword [esp + 0x18]
add eax, 8
mov esi, dword [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], eax
nop dword [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 + 0x28]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.10094c50
mov edi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x68]
cmp esi, dword [esp + 0x14]
jb 0x1002ef60
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
mov edi, dword [esp + 0x1c]
add edi, 0xffffffe0
mov dword [esp + 0x20], edi
mov eax, dword [edx + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x14], edi
cmp eax, ecx
mov eax, dword [esp + 0x44]
jbe 0x1002f013
xor ecx, ecx
jmp 0x1002f018
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, 8
mov dword [esp + 0x68], 8
cmova ecx, dword [esp + 0x68]
add ecx, edi
mov dword [esp + 0x68], ecx
cmp edi, ecx
mov ecx, 0x38
jae 0x1002f0a0
sub ecx, dword [esp + 0x38]
mov esi, edx
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
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 + 0x14]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x14], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp edx, edi
jb 0x1002f050
mov esi, dword [esp + 0x40]
mov ecx, 0x38
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
cmp edi, eax
jae 0x1002f15f
mov esi, dword [esp + 0x20]
mov edi, ecx
sub edi, dword [edx + 0x24]
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call fcn.10071bc0
mov ecx, dword [esp + 0x28]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.10094c50
mov edi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x80]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x1002f0d1
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
push 0xcf1bbcdc
push 0xbb000000
mov dword [edi + 0x1c], eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10071bc0
xor eax, dword [esp + 0x78]
mov ecx, 0x38
xor edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x18]
call fcn.10094c50
mov ecx, dword [esp + 0x1c]
and ecx, 7
mov edx, dword [edi + ecx*4 + 0x2c]
mov dword [edi + ecx*4 + 0x2c], eax
jmp 0x1002f1d0
movq xmm0, qword [esp + 0x68]
mov eax, 0x38
sub eax, dword [esp + 0x18]
movq xmm1, qword [esp + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
movd edx, xmm1
add dword [edi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x58]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x78], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], ecx
xor ecx, ecx
movzx eax, byte [edx]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
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, 4
jl 0x1002f232
mov eax, dword [esp + 0x8c]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x88]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x84]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x80]
shld edi, ecx, 0x10
cdq
or edi, edx
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
and edi, 0x3f
mov dword [esp + 0x34], ecx
mov ecx, edi
mov eax, dword [esp + 0x34]
neg ecx
and ecx, 0x3f
call fcn.10094c30
mov dword [esp + 0x3c], eax
mov ecx, edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
call fcn.10094c50
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
or edi, eax
or ecx, edx
mov dword [esp + 0x14], ecx
ja 0x1002f2e2
test edi, edi
je 0x1002f33f
xor esi, esi
cmp dword [esp + 0x30], 0
jbe 0x1002f337
push ecx
push edi
call fcn.10021700
add eax, dword [esp + 0x5c]
add esp, 8
and eax, 0x3f
je 0x1002f317
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x10]
jb 0x1002f337
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, edi
add ecx, 0xffffffff
adc edx, 0xffffffff
and edi, ecx
mov ecx, dword [esp + 0x14]
and ecx, edx
mov dword [esp + 0x14], ecx
ja 0x1002f2e4
jb 0x1002f337
test edi, edi
jne 0x1002f2e4
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov edi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, edi
mov edi, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov dword [edi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x20], 0
jbe 0x1002f3ed
mov ecx, dword [esp + 0x20]
mov edi, 3
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x44]
add edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x1002f3dc
push dword [esp + 0x48]
mov ecx, esi
call fcn.1001b4b0
add esp, 4
cmp eax, edi
jbe 0x1002f3d8
mov ecx, dword [esp + 0x1c]
mov edi, eax
sub ecx, dword [esp + 0x3c]
add eax, esi
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x48]
je 0x1002f3e9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ecx
jb 0x1002f390
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], eax
sub eax, ecx
add eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, 3
cmp edx, eax
mov dword [esp + 0x24], ecx
cmovb eax, edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1002f4d2
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x1002f59a
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002f4b2
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x28]
push dword [esp + 0x50]
call fcn.1001b530
add esp, 0xc
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x1002f4ae
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
add eax, 3
mov dword [esp + 0x2c], ecx
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x48]
je 0x1002f5b0
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x3c]
jb 0x1002f443
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sub edx, ecx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edi*4 + 0xc]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x1002f59a
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x64], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1002f584
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x28]
push dword [esp + 0x50]
call fcn.1001b530
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x1002f580
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [esp + 0x2c], eax
add eax, esi
mov edi, dword [esp + 0x2c]
mov dword [edx], ecx
cmp eax, dword [esp + 0x48]
je 0x1002f59a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
add ecx, 4
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x30]
jb 0x1002f520
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret