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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10089040]
xor eax, esp
mov dword [esp + 0x54], eax
mov dword [esp + 4], edx
mov edx, dword [0x10099d40]
mov dword [esp + 0xc], ecx
push esi
push edi
mov eax, dword [edx + 0x3e48]
mov dword [esp + 0x1c], edx
mov byte [eax + 0xac], 1
mov ecx, dword [edx + 0x3e48]
cmp byte [ecx + 0xaf], 0
jne 0x10035140
mov eax, dword [esp + 0xc]
mov edi, 0x10079422
cmp dword [esp + 0x14], eax
mov esi, edi
cmovne esi, dword [esp + 0x14]
cmovne edi, eax
test edi, edi
jne 0x10034a6a
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034a58
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [edx + 0x3e48]
movss xmm1, dword [ecx + 0x1a4]
xorps xmm0, xmm0
movss xmm4, dword [ecx + 0x128]
mov eax, edi
addss xmm4, dword [ecx + 0xf4]
movss xmm5, dword [ecx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x34], xmm4
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x10034f11
cmp byte [esp + 0x13], 0
jne 0x10034f18
cmp byte [edx + 0x5aa4], 0
movaps xmm1, xmm4
movss xmm3, dword [edx + 0x3bb8]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x18], xmm1
jne 0x10034be5
movss xmm0, dword [ecx + 0x214]
subss xmm0, xmm4
divss xmm0, xmm3
cvttss2si ecx, xmm0
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x10034be5
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x10034bd0
cmp eax, ecx
jge 0x10034bba
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
test byte [ebp + 8], 1
mov dword [esp + 0xc], eax
jne 0x10034ba2
cmp esi, eax
jne 0x10034b43
xorps xmm0, xmm0
jmp 0x10034b96
movss xmm3, dword [0x10083754]
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x60]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x3bb8]
mov ecx, dword [eax + 0x3bb4]
call fcn.10029b10
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x100835f4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
maxss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov ecx, dword [esp + 0x24]
lea esi, [eax + 1]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp esi, edi
jb 0x10034b13
movss xmm3, dword [esp + 0x20]
movss xmm5, dword [esp + 0x14]
movss xmm4, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
addss xmm1, xmm4
movss dword [esp + 0x18], xmm1
cmp esi, edi
jae 0x10034ead
movaps xmm4, xmm5
movss dword [esp + 0x24], xmm1
addss xmm4, dword [0x10083754]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0xc], xmm0
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edx + 0x3e48]
comiss xmm0, dword [eax + 0x214]
jbe 0x10034c52
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm2
jbe 0x10034c52
comiss xmm4, dword [eax + 0x210]
jbe 0x10034c52
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm5
ja 0x10034c5f
cmp byte [edx + 0x5aa4], 0
je 0x10034ddf
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
cmove ecx, edi
mov dword [esp + 0x3c], ecx
cmp esi, ecx
jne 0x10034c83
xorps xmm0, xmm0
jmp 0x10034cd6
movss xmm3, dword [0x10083754]
lea eax, [esp + 0x40]
push 0
push ecx
push esi
push ecx
mov dword [esp], 0xbf800000
push eax
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x3bb8]
mov ecx, dword [eax + 0x3bb4]
call fcn.10029b10
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100835f4]
mov ecx, dword [esp + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm5, dword [esp + 0x14]
mov eax, ecx
movss xmm1, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm1
mov dword [esp + 0x30], ecx
maxss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
test ecx, ecx
jne 0x10034d23
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034d11
sub ecx, dword [esp + 0x30]
lea eax, [ecx + esi]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x10034d9c
movss xmm1, dword [0x100835fc]
push 0
push ecx
mov dword [esp], 0
xor ecx, ecx
push eax
push esi
call fcn.10004310
movss xmm2, dword [edx + 0x3bb8]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [edx + 0x3e48]
push dword [edx + 0x3bb4]
mov ecx, dword [eax + 0x264]
call fcn.10025e70
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x5aa4], 0
je 0x10034d86
push dword [esp + 0x30]
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.10018720
add esp, 4
mov edx, dword [0x10099d40]
movss xmm5, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
movss xmm3, dword [esp + 0x20]
movss xmm2, dword [esp + 0x24]
addss xmm1, xmm3
movss xmm0, dword [esp + 0xc]
addss xmm2, xmm3
mov esi, dword [esp + 0x3c]
addss xmm0, xmm3
movss xmm4, dword [esp + 0x38]
inc esi
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x24], xmm2
movss dword [esp + 0xc], xmm0
cmp esi, edi
jb 0x10034c20
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jae 0x10034e98
and dword [ebp + 8], 1
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
cmp dword [ebp + 8], 0
mov dword [esp + 0x38], eax
jne 0x10034e78
cmp esi, eax
jne 0x10034e19
xorps xmm0, xmm0
jmp 0x10034e6c
movss xmm3, dword [0x10083754]
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x3bb8]
mov ecx, dword [eax + 0x3bb4]
call fcn.10029b10
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100835f4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
maxss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp esi, edi
jb 0x10034df1
movss xmm1, dword [esp + 0x18]
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x34]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm2, dword [esp + 0x14]
subss xmm1, xmm4
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm2
addss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x28]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x2c], xmm1
addss xmm1, xmm4
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
xorps xmm1, xmm1
call fcn.10012210
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10012370
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10074ff7
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x10034f66
comiss xmm0, xmm1
ja 0x10034f66
mov ecx, dword [edx + 0x3e48]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10034f42
movss xmm1, dword [ecx + 0x1f8]
subss xmm1, xmm5
maxss xmm1, dword [0x100835fc]
jmp 0x10034f69
comiss xmm1, xmm0
jbe 0x10034f58
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x100835fc]
jmp 0x10034f69
xorps xmm1, xmm1
movss xmm2, dword [edx + 0x3bb8]
movss dword [esp + 0x20], xmm1
cmp esi, edi
je 0x10034fc8
movss xmm3, dword [0x10083754]
lea eax, [esp + 0x40]
push 0
push edi
push esi
push ecx
mov ecx, dword [edx + 0x3bb4]
movss dword [esp], xmm1
push eax
call fcn.10029b10
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100835f4]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x14]
movss xmm4, dword [esp + 0x34]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x28], xmm0
addss xmm1, xmm0
movss dword [esp + 0x2c], xmm2
movaps xmm0, xmm4
movss dword [esp + 0x40], xmm5
addss xmm0, xmm2
movss dword [esp + 0x44], xmm4
lea ecx, [esp + 0x28]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10012210
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10012370
add esp, 8
test al, al
je 0x10035140
mov edx, dword [0x10099d40]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x3e48]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], edx
test edi, edi
jne 0x10035062
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035050
mov eax, dword [edx + 0x3e48]
sub ecx, edi
lea edi, [ecx + esi]
cmp esi, edi
je 0x10035140
mov eax, dword [eax + 0x264]
xor ecx, ecx
movss xmm1, dword [0x100835fc]
mov dword [esp + 0xc], eax
call fcn.10004310
mov ecx, dword [edx + 0x3bb4]
movss xmm2, dword [edx + 0x3bb8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edi
test eax, 0xff000000
je 0x10035128
test edi, edi
jne 0x100350cb
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100350b5
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x10035128
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
test edx, edx
jne 0x100350dd
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 8]
ucomiss xmm2, dword [0x10083528]
lahf
test ah, 0x44
jp 0x100350f2
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, edx
call fcn.10029e10
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x5aa4], 0
je 0x10035140
push edi
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.10018720
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10074ff7
mov esp, ebp
pop ebp
ret