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

Disassembly:
sub esp, 0x104
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [0x10214408]
push ebx
push ebp
push esi
cmp byte [eax + 0x36ec], 0
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
je 0x10106c68
mov eax, dword [0x10215cf4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10106c68
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10106c68
mov eax, dword [0x10214410]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movd xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x78]
mov eax, dword [0x10214408]
mov edx, 6
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x36f0]
movss dword [esp + 0x40], xmm0
nop
lea ecx, [ecx + 0x18]
xorps xmm0, xmm0
movups xmmword [ecx - 0x18], xmm0
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0xf
mov byte [ecx - 0x18], 0
sub edx, 1
jne 0x10106760
cmp byte [eax + 0x36f4], dl
je 0x101067b0
lea esi, [esp + 0x78]
lea ebx, [edx + 3]
mov edi, 2
push 1
push 0x101e2d8c
mov ecx, esi
call fcn.10021d40
add esi, 0x18
sub edi, 1
jne 0x10106795
sub ebx, 1
jne 0x10106790
mov eax, dword [0x103d8b08]
test al, 4
je 0x10106818
mov ax, word [0x101ce34c]
mov word [esp + 0x10], ax
test ah, ah
je 0x101067f1
xor ebx, ebx
nop word [eax + eax]
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x101067d0
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101067f8
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.10021d40
mov eax, dword [0x103d8b08]
test al, 8
je 0x10106847
cmp dword [0x10214894], 0xf
lea ecx, [esp + 0xa8]
push dword [0x10214890]
mov eax, 0x10214880
cmova eax, dword [0x10214880]
push eax
call fcn.10021d40
mov eax, dword [0x103d8b08]
test al, 2
je 0x101068a8
mov ax, word [0x101ce3c0]
mov word [esp + 0x10], ax
test ah, ah
je 0x10106881
xor ebx, ebx
nop dword [eax]
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x10106860
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10106888
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.10021d40
mov eax, dword [0x103d8b08]
test eax, 0x200
je 0x101068da
cmp dword [0x1021487c], 0xf
lea ecx, [esp + 0x90]
push dword [0x10214878]
mov eax, 0x10214868
cmova eax, dword [0x10214868]
push eax
call fcn.10021d40
mov eax, dword [0x103d8b08]
test al, 0x10
je 0x10106909
cmp dword [0x1021484c], 0xf
lea ecx, [esp + 0xc0]
push dword [0x10214848]
mov eax, 0x10214838
cmova eax, dword [0x10214838]
push eax
call fcn.10021d40
mov eax, dword [0x103d8b08]
test eax, 0x400
je 0x10106936
cmp dword [0x10214864], 0xf
lea ecx, [esp + 0xf0]
push dword [0x10214860]
mov eax, 0x10214850
cmova eax, dword [0x10214850]
push eax
call fcn.10021d40
mov ecx, dword [0x10214414]
mov dword [esp + 0x6c], 0xc20c0000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x420c0000
mov ecx, dword [ecx + 0x1c]
call fcn.101505e0
lea eax, [esp + 0x6c]
mov dword [esp + 0x20], 3
lea esi, [esp + 0x78]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0xf
jbe 0x1010697e
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0
push 0x101c448e
call fcn.1002e680
test al, al
jne 0x10106be5
mov eax, esi
cmp edi, 0xf
jbe 0x1010699e
mov eax, dword [esi]
mov ecx, dword [0x103d8bec]
test eax, eax
jne 0x101069ad
xorps xmm1, xmm1
jmp 0x101069f9
movss xmm2, dword [ecx + 0x1978]
movss xmm3, dword [0x101eb6ac]
push 0
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x1974]
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
push eax
call fcn.1015cf30
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x101eb32c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x48], xmm1
cmp dword [esi + 0x14], 0xf
mov edi, esi
movss dword [esp + 0x14], xmm1
jbe 0x10106a09
mov edi, dword [esi]
mov eax, dword [0x10214408]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
xor dl, dl
mov dword [esp + 0x44], 0
movss xmm0, dword [eax + 0x3701]
movss dword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x3c]
mov dword [esp + 0x4c], 0x3f19999a
mov eax, dword [esp + 0x4c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], dl
call fcn.100b3a60
movd xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x101eb2c4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm1
mulss xmm0, dword [0x101eb2c4]
subss xmm0, xmm1
addss xmm0, dword [ecx]
addss xmm0, dword [0x101eb334]
movss dword [esp + 0x50], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x60], xmm0
addss xmm0, dword [0x101eb334]
movss dword [esp + 0x54], xmm0
test eax, 0xff000000
je 0x10106b16
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10106ad0
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10106b16
push dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
push dword [esp + 0x54]
movups xmm0, xmmword [ebp + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push edi
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x60]
mov ecx, dword [eax + 8]
push ebp
movups xmmword [esp + 0x48], xmm0
call fcn.1015d0f0
cmp dword [esi + 0x14], 0xf
mov edi, esi
jbe 0x10106b20
mov edi, dword [esi]
mov edx, dword [0x10214408]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [edx + 0x36f5]
mov eax, dword [edx + 0x3705]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3709]
mov byte [ecx + 0x14], al
call fcn.100b3a60
movd xmm0, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101eb2c4]
subss xmm0, dword [esp + 0x14]
addss xmm0, dword [eax]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x5c], xmm0
test ebp, 0xff000000
je 0x10106bdb
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10106b90
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10106be1
push dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x5c]
push 0
mov eax, dword [edx + 0x2c]
movups xmm0, xmmword [edx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push edi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [eax + 8]
push ebp
mov ebp, edx
push ebp
movups xmmword [esp + 0x48], xmm0
call fcn.1015d0f0
jmp 0x10106be5
mov ebp, dword [esp + 0x18]
jmp 0x10106be9
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, 0x19
add esi, 0x18
cmp ebx, 0x32
jl 0x10106972
add eax, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], eax
jne 0x10106970
call fcn.10150690
mov edi, 6
lea esi, [esp + 0x108]
nop dword [eax + eax]
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec edi
cmp ecx, 0xf
jbe 0x10106c53
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10106c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10106c81
mov eax, edx
push ecx
push eax
call fcn.1018e573
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
jne 0x10106c20
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018e27a
add esp, 0x104
ret
call fcn.101936a6
int3