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

Disassembly:
sub esp, 0x104
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [0x10213408]
push ebx
push ebp
push esi
cmp byte [eax + 0x36ec], 0
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
je 0x10107728
mov eax, dword [0x10214cf4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10107728
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10107728
mov eax, dword [0x10213410]
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 [0x10213408]
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 0x10107210
cmp byte [eax + 0x36f4], dl
je 0x10107260
lea esi, [esp + 0x78]
lea ebx, [edx + 3]
mov edi, 2
push 1
push 0x101e1d9c
mov ecx, esi
call fcn.10021e60
add esi, 0x18
sub edi, 1
jne 0x10107245
sub ebx, 1
jne 0x10107240
mov eax, dword [0x103d7b08]
test al, 4
je 0x101072d0
mov ax, word [0x101cd3b4]
mov word [esp + 0x10], ax
test ah, ah
je 0x101072a9
xor ebx, ebx
nop word [eax + eax]
mov eax, 0x3521cfb3
mov cl, bl
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x10107280
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101072b0
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.10021e60
mov eax, dword [0x103d7b08]
test al, 8
je 0x101072ff
cmp dword [0x10213894], 0xf
lea ecx, [esp + 0xa8]
push dword [0x10213890]
mov eax, 0x10213880
cmova eax, dword [0x10213880]
push eax
call fcn.10021e60
mov eax, dword [0x103d7b08]
test al, 2
je 0x10107364
mov ax, word [0x101cd378]
mov word [esp + 0x10], ax
test ah, ah
je 0x1010733d
xor ebx, ebx
mov eax, 0x3521cfb3
mov cl, bl
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x10107314
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107344
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.10021e60
mov eax, dword [0x103d7b08]
test eax, 0x200
je 0x10107396
cmp dword [0x1021387c], 0xf
lea ecx, [esp + 0x90]
push dword [0x10213878]
mov eax, 0x10213868
cmova eax, dword [0x10213868]
push eax
call fcn.10021e60
mov eax, dword [0x103d7b08]
test al, 0x10
je 0x101073c5
cmp dword [0x1021384c], 0xf
lea ecx, [esp + 0xc0]
push dword [0x10213848]
mov eax, 0x10213838
cmova eax, dword [0x10213838]
push eax
call fcn.10021e60
mov eax, dword [0x103d7b08]
test eax, 0x400
je 0x101073f2
cmp dword [0x10213864], 0xf
lea ecx, [esp + 0xf0]
push dword [0x10213860]
mov eax, 0x10213850
cmova eax, dword [0x10213850]
push eax
call fcn.10021e60
mov ecx, dword [0x10213414]
mov dword [esp + 0x6c], 0xc20c0000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x420c0000
mov ecx, dword [ecx + 0x1c]
call fcn.10150c90
lea eax, [esp + 0x6c]
mov dword [esp + 0x20], 3
lea esi, [esp + 0x78]
mov dword [esp + 0x10], eax
nop dword [eax]
xor ebx, ebx
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0xf
jbe 0x1010743e
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0
push 0x101c346e
call fcn.1002e3f0
test al, al
jne 0x101076a5
mov eax, esi
cmp edi, 0xf
jbe 0x1010745e
mov eax, dword [esi]
mov ecx, dword [0x103d7bec]
test eax, eax
jne 0x1010746d
xorps xmm1, xmm1
jmp 0x101074b9
movss xmm2, dword [ecx + 0x1978]
movss xmm3, dword [0x101ea654]
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.1015cd10
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x101ea2d4]
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 0x101074c9
mov edi, dword [esi]
mov eax, dword [0x10213408]
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.100b37a0
movd xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x101ea26c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm1
mulss xmm0, dword [0x101ea26c]
subss xmm0, xmm1
addss xmm0, dword [ecx]
addss xmm0, dword [0x101ea2dc]
movss dword [esp + 0x50], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x60], xmm0
addss xmm0, dword [0x101ea2dc]
movss dword [esp + 0x54], xmm0
test eax, 0xff000000
je 0x101075d6
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107590
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x101075d6
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.1015ced0
cmp dword [esi + 0x14], 0xf
mov edi, esi
jbe 0x101075e0
mov edi, dword [esi]
mov edx, dword [0x10213408]
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.100b37a0
movd xmm0, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101ea26c]
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 0x1010769b
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107650
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x101076a1
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.1015ced0
jmp 0x101076a5
mov ebp, dword [esp + 0x18]
jmp 0x101076a9
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, 0x19
add esi, 0x18
cmp ebx, 0x32
jl 0x10107432
add eax, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], eax
jne 0x10107430
call fcn.10150d40
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 0x10107713
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10107709
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10107741
mov eax, edx
push ecx
push eax
call fcn.1018dda2
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
jne 0x101076e0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018daa9
add esp, 0x104
ret
call fcn.10192ed6
int3