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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x100b0040]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
movss xmm0, dword [esi + 0x24]
mulss xmm0, dword [esi + 0x2c]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x30]
mulss xmm0, dword [esi + 0x28]
mov dword [esp + 0x20], eax
cvttss2si edi, xmm0
mov dword [esp + 0x24], edi
test eax, eax
jle 0x1004e0a1
test edi, edi
jle 0x1004e0a1
mov ebx, dword [0x100b31d4]
test ebx, ebx
je 0x1004db06
mov ebx, dword [ebx + 0x78]
jmp 0x1004db08
xor ebx, ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x18], ebx
push eax
push 0x84e0
call dword [0x100b3268]
push 0x84c0
call dword [0x100b31e0]
lea eax, [esp + 0x34]
push eax
push 0x8b8d
call dword [0x100b3268]
lea eax, [esp + 0x4c]
push eax
push 0x8069
call dword [0x100b3268]
cmp dword [ebx], 0x14a
jae 0x1004db5f
cmp byte [ebx + 0x25], 0
jne 0x1004db5f
mov dword [esp + 0x38], 0
jmp 0x1004db6f
lea eax, [esp + 0x38]
push eax
push 0x8919
call dword [0x100b3268]
lea eax, [esp + 0x58]
push eax
push 0x8894
call dword [0x100b3268]
lea eax, [esp + 0x54]
push eax
push 0x85b5
call dword [0x100b3268]
lea eax, [esp + 0x74]
push eax
push 0xb40
call dword [0x100b3268]
lea eax, [esp + 0x7c]
push eax
push 0xba2
call dword [0x100b3268]
lea eax, [esp + 0x8c]
push eax
push 0xc10
call dword [0x100b3268]
lea eax, [esp + 0x70]
push eax
push 0x80c9
call dword [0x100b3268]
lea eax, [esp + 0x6c]
push eax
push 0x80c8
call dword [0x100b3268]
lea eax, [esp + 0x68]
push eax
push 0x80cb
call dword [0x100b3268]
lea eax, [esp + 0x64]
push eax
push 0x80ca
call dword [0x100b3268]
lea eax, [esp + 0x60]
push eax
push 0x8009
call dword [0x100b3268]
lea eax, [esp + 0x5c]
push eax
push 0x883d
call dword [0x100b3268]
mov eax, dword [0x100b3290]
push 0xbe2
call eax
mov ecx, dword [0x100b3290]
push 0xb44
mov byte [esp + 0x17], al
call ecx
mov ecx, dword [0x100b3290]
push 0xb71
mov byte [esp + 0x18], al
call ecx
mov ecx, dword [0x100b3290]
push 0xb90
mov byte [esp + 0x19], al
call ecx
mov ecx, dword [0x100b3290]
push 0xc11
mov byte [esp + 0x1a], al
call ecx
cmp dword [ebx], 0x136
mov byte [esp + 0x17], al
jb 0x1004dc91
mov ecx, dword [0x100b3290]
push 0x8f9d
call ecx
mov byte [esp + 0x12], al
jmp 0x1004dc96
mov byte [esp + 0x12], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
call dword [0x100b325c]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.1004d830
movss xmm0, dword [esi + 0x1c]
xor ecx, ecx
movss dword [esp + 0x44], xmm0
add esp, 8
movss xmm0, dword [esi + 0x20]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x2c], ecx
cmp dword [esi + 4], ecx
jle 0x1004dee6
nop dword [eax]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0xc]
add ebx, ebx
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x18]
shl esi, 2
cmp byte [eax + 0x59], 0
je 0x1004dd7c
cmp dword [eax + 0x50], esi
jge 0x1004dd3d
push 0x88e0
push 0
push esi
push 0x8892
mov dword [eax + 0x50], esi
call dword [0x100b3204]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x54], ebx
jge 0x1004dd58
push 0x88e0
push 0
push ebx
push 0x8893
mov dword [eax + 0x54], ebx
call dword [0x100b3204]
push dword [edi + 0x20]
push esi
push 0
push 0x8892
call dword [0x100b3208]
push dword [edi + 0x14]
push ebx
push 0
push 0x8893
call dword [0x100b3208]
jmp 0x1004dda4
push 0x88e0
push dword [edi + 0x20]
push esi
push 0x8892
call dword [0x100b3204]
push 0x88e0
push dword [edi + 0x14]
push ebx
push 0x8893
call dword [0x100b3204]
cmp dword [edi], 0
mov dword [esp + 0x28], 0
jle 0x1004decc
xor ebx, ebx
mov esi, dword [edi + 8]
add esi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004ddf1
cmp eax, 0xfffffff8
jne 0x1004dde5
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.1004d830
add esp, 8
jmp 0x1004deb8
push esi
push edi
call eax
add esp, 8
jmp 0x1004deb8
movss xmm4, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm4, dword [esp + 0x3c]
subss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esi + 4]
movss xmm1, dword [esi + 0xc]
subss xmm3, dword [esp + 0x44]
mulss xmm4, dword [esp + 0x40]
mulss xmm2, dword [esp + 0x40]
subss xmm1, dword [esp + 0x44]
mulss xmm3, dword [esp + 0x48]
comiss xmm4, xmm2
mulss xmm1, dword [esp + 0x48]
jae 0x1004deb8
comiss xmm3, xmm1
jae 0x1004deb8
movaps xmm0, xmm1
subss xmm2, xmm4
subss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x24]
push eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm2
subss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
call dword [0x100b32a8]
push dword [esi + 0x10]
push 0xde1
call dword [0x100b31f0]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x140
mov eax, dword [esi + 0x18]
jb 0x1004dea5
push dword [esi + 0x14]
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b3244]
jmp 0x1004deb8
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b3240]
mov eax, dword [esp + 0x28]
add ebx, 0x28
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x1004ddb7
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 4]
jl 0x1004dd00
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
call dword [0x100b3230]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1004df0b
mov eax, dword [0x100b3294]
push ecx
call eax
test al, al
je 0x1004df12
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x100b32c0]
push dword [esp + 0x4c]
push 0xde1
call dword [0x100b31f0]
cmp dword [ebx], 0x14a
jae 0x1004df2f
cmp byte [ebx + 0x25], 0
je 0x1004df3b
push dword [esp + 0x38]
push 0
call dword [0x100b31ec]
push dword [esp + 0x50]
call dword [0x100b31e0]
push dword [esp + 0x54]
call dword [0x100b31f4]
push dword [esp + 0x58]
push 0x8892
call dword [0x100b31e8]
push dword [esp + 0x5c]
push dword [esp + 0x64]
call dword [0x100b31fc]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
call dword [0x100b3200]
cmp byte [esp + 0x13], 0
push 0xbe2
je 0x1004df96
call dword [0x100b3248]
jmp 0x1004df9c
call dword [0x100b3238]
cmp byte [esp + 0x14], 0
push 0xb44
je 0x1004dfb0
call dword [0x100b3248]
jmp 0x1004dfb6
call dword [0x100b3238]
cmp byte [esp + 0x15], 0
push 0xb71
je 0x1004dfca
call dword [0x100b3248]
jmp 0x1004dfd0
call dword [0x100b3238]
cmp byte [esp + 0x16], 0
push 0xb90
je 0x1004dfe4
call dword [0x100b3248]
jmp 0x1004dfea
call dword [0x100b3238]
cmp byte [esp + 0x17], 0
push 0xc11
je 0x1004dffe
call dword [0x100b3248]
jmp 0x1004e004
call dword [0x100b3238]
cmp dword [ebx], 0x136
jb 0x1004e03f
cmp byte [esp + 0x12], 0
push 0x8f9d
je 0x1004e020
call dword [0x100b3248]
jmp 0x1004e026
call dword [0x100b3238]
cmp dword [ebx], 0x136
jbe 0x1004e03f
cmp byte [ebx + 0x26], 0
jne 0x1004e03f
push dword [esp + 0x74]
push 0x408
jmp 0x1004e057
push dword [esp + 0x74]
push 0x404
call dword [0x100b32a0]
push dword [esp + 0x78]
push 0x405
call dword [0x100b32a0]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [0x100b32c8]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
call dword [0x100b32a8]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10050e66
mov esp, ebp
pop ebp
ret