Function at 0x1002c130
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
push esi
push edi
mov eax, edx
mov dword [esp + 0x2c], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x3c], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x5c], edx
add edx, ecx
mov eax, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x6c], 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 + 0x4c], edx
mov ecx, 6
mov dword [esp + 0x50], edi
cmp eax, ecx
mov dword [esp + 0x78], edx
push 0xbf9b0000
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], 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 + 0x34]
mov dword [esp + 0x1c], edi
push dword [eax + 4]
push dword [eax]
call fcn.10071bc0
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.10094c50
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x34], 0x3f
lea ecx, [eax + esi]
lea eax, [edi + eax*4]
mov dword [esp + 0x60], ecx
mov edi, dword [esp + 0x28]
mov dword [esp + 0x64], eax
cmp dword [edi + 0xdc], 0
jne 0x1002c4bd
mov eax, dword [esp + 0x24]
mov esi, dword [edi + 0x1c]
sub eax, esi
cmp eax, 0x180
jbe 0x1002c3c1
lea eax, [esi + 0x60]
mov dword [esp + 0x44], eax
cmp esi, eax
jae 0x1002c33e
mov eax, 0x38
sub eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add eax, 8
mov dword [esp + 0x70], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + esi + 4]
push dword [eax + esi]
call fcn.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.10094c50
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, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x70]
cmp esi, dword [esp + 0x44]
jb 0x1002c2c0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esi, 0xffffffe0
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x18], esi
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x1002c35d
xor ecx, ecx
jmp 0x1002c362
sub ecx, edx
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x14], ecx
cmp esi, ecx
jae 0x1002c3c1
mov eax, 0x38
sub eax, dword [edi + 0x24]
mov dword [esp + 0x44], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + edx + 4]
push dword [esi + edx]
call fcn.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x44]
call fcn.10094c50
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, esi
inc esi
and eax, 7
mov dword [edi + eax*4 + 0x2c], ecx
cmp esi, dword [esp + 0x14]
jb 0x1002c382
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], ecx
cmp esi, dword [esp + 0x24]
jae 0x1002c476
mov eax, 0x38
sub eax, dword [edi + 0x24]
mov dword [esp + 0x70], eax
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + ecx + 0xc]
push dword [esi + ecx + 8]
call fcn.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x70]
call fcn.10094c50
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, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [ecx + eax*4], esi
inc esi
mov ecx, dword [esp + 0x80]
cmp esi, dword [esp + 0x24]
jb 0x1002c3f0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [edi + 0x1c], esi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.10071bc0
xor eax, dword [esp + 0x58]
mov ecx, 0x38
xor edx, dword [esp + 0x48]
sub ecx, dword [esp + 0x10]
call fcn.10094c50
mov ecx, eax
mov eax, esi
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], ecx
jmp 0x1002c4eb
movq xmm0, qword [esp + 0x70]
mov eax, 0x38
sub eax, dword [esp + 0x10]
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
add dword [edi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x1c]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
add edx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x80], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x34]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x58], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 4
jl 0x1002c550
mov eax, dword [esp + 0x7c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x78]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x74]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x70]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x3c], ecx
or edi, eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10094c30
mov dword [esp + 0x48], eax
mov ecx, esi
mov dword [esp + 0x10], edx
mov eax, edi
mov edx, dword [esp + 0x3c]
call fcn.10094c50
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
or esi, eax
or ecx, edx
mov dword [esp + 0x10], ecx
ja 0x1002c5e5
test esi, esi
je 0x1002c649
mov edi, dword [esp + 0x54]
nop dword [eax]
test edi, edi
je 0x1002c645
push ecx
push esi
call fcn.10021700
add eax, dword [esp + 0x60]
add esp, 8
and eax, 0x3f
je 0x1002c625
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x1002c645
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x1c], eax
dec edi
mov edx, dword [esp + 0x10]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x10]
and ecx, edx
mov dword [esp + 0x10], ecx
ja 0x1002c5f0
jb 0x1002c645
test esi, esi
jne 0x1002c5f0
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x80]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x34]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x1c], 0
jbe 0x1002c700
mov edi, dword [esp + 0x2c]
mov esi, 3
mov ecx, dword [esp + 0x1c]
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x1002c6ef
push dword [esp + 0x38]
mov ecx, edi
call fcn.1001b4b0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x1002c6eb
mov eax, dword [esp + 0x24]
mov esi, ecx
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x38]
je 0x1002c6fc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jb 0x1002c6a0
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
sub ecx, eax
add dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x60], esi
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, 4
jl 0x1002c760
mov eax, dword [esp + 0x8c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x84]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x80]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x40], ecx
or edi, eax
mov edx, dword [esp + 0x40]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10094c30
mov dword [esp + 0x50], eax
mov ecx, esi
mov dword [esp + 0x10], edx
mov eax, edi
mov edx, dword [esp + 0x40]
call fcn.10094c50
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
or esi, eax
or ecx, edx
mov dword [esp + 0x10], ecx
ja 0x1002c808
test esi, esi
je 0x1002c947
mov edi, dword [esp + 0x54]
nop dword [eax]
test edi, edi
je 0x1002c865
push ecx
push esi
call fcn.10021700
add eax, dword [esp + 0x68]
add esp, 8
and eax, 0x3f
je 0x1002c845
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x1002c865
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x20], eax
dec edi
mov edx, dword [esp + 0x10]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x10]
and ecx, edx
mov dword [esp + 0x10], ecx
ja 0x1002c810
jb 0x1002c865
test esi, esi
jne 0x1002c810
cmp dword [esp + 0x20], 0
jbe 0x1002c947
xor eax, eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
add esi, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1002c91a
lea edi, [ecx + 4]
add esi, 4
mov ecx, dword [esp + 0x38]
mov eax, edi
sub eax, esi
mov dword [esp + 0x64], edi
add eax, dword [esp + 0x14]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.1001b4b0
mov edi, eax
add esp, 4
lea ecx, [edi + esi]
mov esi, dword [esp + 0x38]
cmp ecx, dword [esp + 0x14]
jne 0x1002c8e8
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push esi
lea ecx, [edi + ecx]
call fcn.1001b4b0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x30]
add edi, 4
cmp edi, ecx
jbe 0x1002c91e
mov eax, dword [esp + 0x24]
mov ecx, edi
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x30], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
add eax, edi
cmp eax, esi
je 0x1002c931
jmp 0x1002c91e
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x1002c880
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10071030
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.10071030
mov esp, ebp
pop ebp
ret