Function at 0x100c5723
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [0x101d36fc]
mov esi, ecx
mov byte [esp + 0x15], dl
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x3e28]
mov byte [eax + 0x90], 1
mov ebx, dword [edi + 0x3e28]
mov dword [esp + 0x34], ebx
cmp byte [ebx + 0x93], 0
jne 0x100c5d2e
push ecx
push esi
mov ecx, ebx
call fcn.1009815f
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x44]
push 1
push 0
mov edx, esi
mov dword [esp + 0x38], eax
call fcn.1009b6a9
mov esi, dword [ebp + 0xc]
add esp, 0xc
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x100c57b4
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x28], xmm0
movss xmm7, dword [esi]
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x100c57c7
movss xmm7, dword [esp + 0x40]
movss dword [esp + 0x20], xmm0
lea ecx, [esp + 0x1c]
movss xmm0, dword [ebx + 0xd4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [ebx + 0xd8]
addss xmm0, dword [ebx + 0x10c]
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x38], xmm0
call fcn.100a2370
mov ecx, dword [ebp + 8]
mov edx, ecx
movss xmm2, dword [esp + 0x24]
shr edx, 1
and dl, 1
mov dword [esp + 0x1c], edx
je 0x100c5828
movss xmm5, dword [ebx + 0x1e4]
movss xmm1, dword [ebx + 0x1ec]
jmp 0x100c5833
movss xmm1, dword [ebx + 0x1dc]
movaps xmm5, xmm2
movss xmm0, dword [esi]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x100c584b
test ecx, 0x1000000
je 0x100c5859
movss xmm7, dword [esp + 0x40]
subss xmm1, xmm5
maxss xmm7, xmm1
movss xmm6, dword [esp + 0x38]
addss xmm7, xmm5
movss dword [esp + 0x50], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x48], xmm7
movss dword [esp + 0x60], xmm7
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x64], xmm0
test ecx, 0x8000000
jne 0x100c591c
test dl, dl
jne 0x100c58b6
movss xmm4, dword [edi + 0x37e4]
movss xmm3, dword [edi + 0x37e8]
movaps xmm0, xmm4
mulss xmm0, dword [0x10137414]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10137414]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm3, xmm0
subss xmm5, xmm2
subss xmm6, xmm0
addss xmm4, xmm7
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm3
movss xmm0, dword [ebx + 0x1f4]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [ebx + 0x1fc]
movss dword [esp + 0x24], xmm0
test dl, dl
je 0x100c5954
mov eax, dword [ebx + 0x1e4]
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0x1ec]
mov dword [ebx + 0x1fc], eax
mov edx, dword [esp + 0x2c]
mov eax, ecx
shr eax, 3
lea ecx, [esp + 0x58]
and eax, 0xffffff01
xor esi, esi
mov dword [esp + 0x28], eax
movzx eax, al
shl eax, 2
push eax
push esi
call fcn.100a24c4
cmp byte [esp + 0x24], 0
pop ecx
pop ecx
je 0x100c599e
movss xmm0, dword [esp + 0x38]
movss dword [ebx + 0x1f4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ebx + 0x1fc], xmm0
test al, al
je 0x100c5d2e
mov eax, dword [edi + 0x466c]
shr eax, 2
and eax, 0xffffff01
cmp byte [esp + 0x28], 0
mov dword [esp + 0x24], eax
je 0x100c59c8
test al, al
jne 0x100c59c8
call fcn.100a071c
cmp byte [esp + 0x1c], 0
je 0x100c5a3d
cmp dword [ebx + 0x174], esi
je 0x100c59de
call fcn.100bc7a4
jmp 0x100c5a3d
cmp dword [edi + 0x49bc], esi
je 0x100c5a3d
mov eax, dword [0x101d36fc]
mov ebx, dword [eax + 0x3e28]
mov ecx, ebx
mov eax, dword [eax + 0x49bc]
mov dword [esp + 0x38], eax
lea esi, [ebx + 0x1f4]
lea edi, [eax + 0x150]
movsd dword es:[edi], dword [esi]
lea edx, [eax + 0x130]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100bc41d
mov ecx, dword [esp + 0x38]
movzx eax, byte [ecx + 0x1c7]
mov ecx, dword [ecx + 0x174]
push eax
push dword [ebx + 0x248]
call fcn.100b609e
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
shr ecx, 3
and ecx, 0x20000
mov edx, ecx
or edx, 0x100000
test dword [ebp + 8], 0x10000000
cmove edx, ecx
mov esi, edx
or esi, 0x10
test dword [ebp + 8], 0x400000
cmove esi, edx
mov ecx, esi
or ecx, 0x80
test dword [ebp + 8], 0x800000
cmove ecx, esi
mov esi, dword [esp + 0x2c]
mov edx, ecx
or edx, 0x120
test byte [ebp + 8], 4
cmove edx, ecx
mov ecx, dword [ebp + 8]
and ecx, 0x10
mov eax, edx
or eax, 0x1000
mov dword [esp + 0x38], ecx
test ecx, ecx
lea ecx, [esp + 0x58]
cmove eax, edx
mov edx, esi
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x1b]
push eax
call fcn.100bd4cc
mov cl, byte [esp + 0x1f]
add esp, 0xc
test dword [ebp + 8], 0x200000
mov ch, al
mov byte [esp + 0x16], ch
je 0x100c5afb
mov edx, dword [edi + 0x47b4]
test edx, edx
je 0x100c5afb
mov eax, dword [edi + 0x47b8]
cmp eax, dword [edi + 0x4668]
jne 0x100c5afb
cmp edx, esi
jne 0x100c5afb
mov ch, 1
mov dl, ch
mov byte [esp + 0x16], ch
mov byte [esp + 0x14], dl
jmp 0x100c5b22
mov dh, byte [esp + 0x15]
mov byte [esp + 0x14], dh
test ch, ch
jne 0x100c5b22
mov dl, dh
test cl, cl
je 0x100c5bd3
test dword [ebp + 8], 0x4000000
mov byte [esp + 0x14], dl
je 0x100c5bd3
cmp byte [edi + 0x47d3], 0
jne 0x100c5bbc
cmp dword [edi + 0x4794], ebx
jne 0x100c5bbc
mov edx, dword [ebx + 0x12c]
cmp dword [edi + 0x47cc], edx
jne 0x100c5bbc
movss xmm1, dword [ebx + 0xe4]
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x58]
mov ecx, esi
movss xmm2, dword [ebx + 0xe8]
subss xmm0, xmm1
push eax
push dword [edi + 0x4668]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm2
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, xmm2
movss dword [esp + 0x7c], xmm0
call fcn.100a41b7
pop ecx
pop ecx
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x16]
mov byte [edi + 0x47d2], 1
test ch, ch
je 0x100c5bcb
mov ecx, esi
call fcn.10098508
mov cl, byte [esp + 0x13]
mov dh, byte [esp + 0x15]
mov dl, byte [esp + 0x14]
cmp dword [esp + 0x38], 0
je 0x100c5be3
call fcn.1009b9b4
mov cl, byte [esp + 0x13]
cmp dl, dh
je 0x100c5bee
or dword [edi + 0x4690], 8
mov al, byte [esp + 0x17]
test al, al
je 0x100c5c05
test dword [ebp + 8], 0x2000000
je 0x100c5c05
mov cl, 1
mov byte [esp + 0x13], cl
test cl, cl
jne 0x100c5c0d
test dl, dl
je 0x100c5c54
test al, al
je 0x100c5c1a
test cl, cl
je 0x100c5c1a
push 0x1a
pop eax
jmp 0x100c5c24
xor eax, eax
test cl, cl
setne al
add eax, 0x18
movss xmm1, dword [0x10137464]
mov ecx, eax
call fcn.10096e66
push ecx
and dword [esp], 0
xor dl, dl
push dword [esp + 0x68]
mov ecx, eax
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.100974eb
add esp, 0x14
push 0xa
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.100976e5
cmp byte [esp + 0x20], 0
pop ecx
je 0x100c5cc3
cmp dword [ebx + 0x174], 0
je 0x100c5c79
call fcn.100bc7ed
jmp 0x100c5cc3
cmp dword [edi + 0x49bc], 0
je 0x100c5cc3
mov eax, dword [0x101d36fc]
mov ebx, dword [eax + 0x49bc]
mov edi, dword [eax + 0x3e28]
push dword [ebx + 0x5c]
lea ecx, [ebx + 0x10]
call fcn.100a8ca6
lea edx, [ebx + 0x150]
mov ecx, edi
mov esi, eax
call fcn.100bc41d
movzx eax, byte [esi + 0x57]
mov ecx, dword [ebx + 0x174]
push eax
push dword [edi + 0x248]
call fcn.100b609e
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x54]
lea eax, [esi + 0x3838]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x4c]
call fcn.1009747e
mov bl, byte [esp + 0x2a]
add esp, 0x14
test bl, bl
je 0x100c5d17
mov eax, dword [esp + 0x34]
test dword [eax + 8], 0x4000000
je 0x100c5d17
test byte [ebp + 8], 1
jne 0x100c5d17
test byte [esi + 0x468c], 0x20
jne 0x100c5d17
call fcn.100a395e
cmp byte [esp + 0x28], 0
je 0x100c5d2a
cmp byte [esp + 0x24], 0
jne 0x100c5d2a
call fcn.100a0770
mov al, bl
jmp 0x100c5d30
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret