Function at 0x1002b9d0
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 + 0x30], esi
mov dword [esp + 0x34], 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 + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x38], 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 + 0x28], 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 + 0x34]
mov dword [esp + 0x20], 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 + 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 + 0x30]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0xdc], 0
jne 0x1002bd5d
mov eax, dword [esp + 0x28]
mov esi, dword [edi + 0x1c]
sub eax, esi
cmp eax, 0x180
jbe 0x1002bc61
lea eax, [esi + 0x60]
mov dword [esp + 0x20], eax
cmp esi, eax
jae 0x1002bbde
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.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x18]
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, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x5c]
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 + 0x24]
mov edi, dword [esp + 0x30]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x50]
cmp esi, dword [esp + 0x20]
jb 0x1002bb60
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
add esi, 0xffffffe0
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x20], esi
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x1002bbfd
xor ecx, ecx
jmp 0x1002bc02
sub ecx, edx
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jae 0x1002bc61
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.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x18]
call fcn.10094c50
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 + 0x1c]
jb 0x1002bc22
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], ecx
cmp esi, dword [esp + 0x28]
jae 0x1002bd16
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.10071bc0
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x50]
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, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x1c], 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 + 0x1c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov dword [ecx + eax*4], esi
inc esi
mov ecx, dword [esp + 0x80]
cmp esi, dword [esp + 0x28]
jb 0x1002bc90
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [edi + 0x1c], esi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.10071bc0
xor eax, dword [esp + 0x74]
mov ecx, 0x38
xor edx, dword [esp + 0x44]
sub 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
jmp 0x1002bd8b
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 + 0x28]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
movd edx, xmm1
mov ecx, dword [esp + 0x24]
mov eax, edx
mov esi, dword [esp + 0x38]
add dword [edi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x20], edx
add esi, eax
mov dword [esp + 0x14], 0
xor edx, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], edx
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
and eax, 0x1f
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
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 [esi]
lea esi, [esi + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x1002bdf0
mov esi, dword [esp + 0x84]
mov cl, byte [esp + 0x1c]
shl esi, 0x10
or esi, dword [esp + 0x80]
ror esi, cl
xor ecx, ecx
mov dword [esp + 0x38], ecx
test esi, esi
je 0x1002be8f
mov edi, dword [esp + 0x60]
test edi, edi
je 0x1002be85
push ecx
push esi
call fcn.10021700
add eax, dword [esp + 0x24]
add esp, 8
and eax, 0x1f
je 0x1002be65
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x48]
jb 0x1002be85
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 + 0x38]
mov ecx, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x38]
and ecx, eax
mov dword [esp + 0x38], ecx
ja 0x1002be30
jb 0x1002be85
test esi, esi
jne 0x1002be30
mov dword [esp + 0x60], edi
xor edx, edx
mov edi, dword [esp + 0x30]
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 0x1002bf30
mov edi, dword [esp + 0x2c]
mov esi, 3
nop dword [eax]
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 0x1002bf21
push dword [esp + 0x3c]
mov edx, ecx
mov ecx, edi
call fcn.1001b4b0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x1002bf1d
mov eax, dword [esp + 0x28]
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 0x1002bf2c
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x14]
jb 0x1002bed0
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 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 + 0x1c], eax
mov dword [esp + 0x44], ecx
sub ecx, eax
add dword [esp + 0x64], ecx
movzx eax, byte [edx]
and eax, 0x1f
xor ecx, ecx
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
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 0x1002bf91
mov esi, dword [esp + 0x84]
mov cl, byte [esp + 0x40]
shl esi, 0x10
or esi, dword [esp + 0x80]
ror esi, cl
xor edx, edx
mov dword [esp + 0x18], edx
test esi, esi
je 0x1002c10e
mov edi, dword [esp + 0x60]
test edi, edi
je 0x1002c028
push edx
push esi
call fcn.10021700
add eax, dword [esp + 0x48]
add esp, 8
and eax, 0x1f
je 0x1002c00a
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x48]
jb 0x1002c028
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 0x1002bfd5
jb 0x1002c028
test esi, esi
jne 0x1002bfd5
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x2c]
jbe 0x1002c10e
xor eax, eax
nop dword [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 0x1002c0db
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 + 0x1c]
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 + 0x3c]
cmp ecx, dword [esp + 0x1c]
jne 0x1002c0a8
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
push esi
lea ecx, [edi + ecx]
call fcn.1001b4b0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x34]
lea edx, [edi + 4]
cmp edx, ecx
jbe 0x1002c0e1
mov eax, dword [esp + 0x28]
mov ecx, edx
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x34], ecx
mov dword [edi], eax
mov edi, dword [esp + 0x2c]
lea eax, [edx + edi]
cmp eax, esi
je 0x1002c0f8
jmp 0x1002c0e5
mov ecx, dword [esp + 0x34]
jmp 0x1002c0e5
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
jb 0x1002c040
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 + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret