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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x100b3100]
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 0x10050f51
test edi, edi
jle 0x10050f51
mov ebx, dword [0x100b7db4]
test ebx, ebx
je 0x100509b6
mov ebx, dword [ebx + 0x78]
jmp 0x100509b8
xor ebx, ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x18], ebx
push eax
push 0x84e0
call dword [0x100b7e48]
push 0x84c0
call dword [0x100b7dc0]
lea eax, [esp + 0x34]
push eax
push 0x8b8d
call dword [0x100b7e48]
lea eax, [esp + 0x4c]
push eax
push 0x8069
call dword [0x100b7e48]
cmp dword [ebx], 0x14a
jae 0x10050a0f
cmp byte [ebx + 0x25], 0
jne 0x10050a0f
mov dword [esp + 0x38], 0
jmp 0x10050a1f
lea eax, [esp + 0x38]
push eax
push 0x8919
call dword [0x100b7e48]
lea eax, [esp + 0x58]
push eax
push 0x8894
call dword [0x100b7e48]
lea eax, [esp + 0x54]
push eax
push 0x85b5
call dword [0x100b7e48]
lea eax, [esp + 0x74]
push eax
push 0xb40
call dword [0x100b7e48]
lea eax, [esp + 0x7c]
push eax
push 0xba2
call dword [0x100b7e48]
lea eax, [esp + 0x8c]
push eax
push 0xc10
call dword [0x100b7e48]
lea eax, [esp + 0x70]
push eax
push 0x80c9
call dword [0x100b7e48]
lea eax, [esp + 0x6c]
push eax
push 0x80c8
call dword [0x100b7e48]
lea eax, [esp + 0x68]
push eax
push 0x80cb
call dword [0x100b7e48]
lea eax, [esp + 0x64]
push eax
push 0x80ca
call dword [0x100b7e48]
lea eax, [esp + 0x60]
push eax
push 0x8009
call dword [0x100b7e48]
lea eax, [esp + 0x5c]
push eax
push 0x883d
call dword [0x100b7e48]
mov eax, dword [0x100b7e70]
push 0xbe2
call eax
mov ecx, dword [0x100b7e70]
push 0xb44
mov byte [esp + 0x17], al
call ecx
mov ecx, dword [0x100b7e70]
push 0xb71
mov byte [esp + 0x18], al
call ecx
mov ecx, dword [0x100b7e70]
push 0xb90
mov byte [esp + 0x19], al
call ecx
mov ecx, dword [0x100b7e70]
push 0xc11
mov byte [esp + 0x1a], al
call ecx
cmp dword [ebx], 0x136
mov byte [esp + 0x17], al
jb 0x10050b41
mov ecx, dword [0x100b7e70]
push 0x8f9d
call ecx
mov byte [esp + 0x12], al
jmp 0x10050b46
mov byte [esp + 0x12], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
call dword [0x100b7e3c]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.100506e0
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 0x10050d96
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 0x10050c2c
cmp dword [eax + 0x50], esi
jge 0x10050bed
push 0x88e0
push 0
push esi
push 0x8892
mov dword [eax + 0x50], esi
call dword [0x100b7de4]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x54], ebx
jge 0x10050c08
push 0x88e0
push 0
push ebx
push 0x8893
mov dword [eax + 0x54], ebx
call dword [0x100b7de4]
push dword [edi + 0x20]
push esi
push 0
push 0x8892
call dword [0x100b7de8]
push dword [edi + 0x14]
push ebx
push 0
push 0x8893
call dword [0x100b7de8]
jmp 0x10050c54
push 0x88e0
push dword [edi + 0x20]
push esi
push 0x8892
call dword [0x100b7de4]
push 0x88e0
push dword [edi + 0x14]
push ebx
push 0x8893
call dword [0x100b7de4]
cmp dword [edi], 0
mov dword [esp + 0x28], 0
jle 0x10050d7c
xor ebx, ebx
mov esi, dword [edi + 8]
add esi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10050ca1
cmp eax, 0xfffffff8
jne 0x10050c95
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.100506e0
add esp, 8
jmp 0x10050d68
push esi
push edi
call eax
add esp, 8
jmp 0x10050d68
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 0x10050d68
comiss xmm3, xmm1
jae 0x10050d68
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 [0x100b7e88]
push dword [esi + 0x10]
push 0xde1
call dword [0x100b7dd0]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x140
mov eax, dword [esi + 0x18]
jb 0x10050d55
push dword [esi + 0x14]
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b7e24]
jmp 0x10050d68
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b7e20]
mov eax, dword [esp + 0x28]
add ebx, 0x28
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x10050c67
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 4]
jl 0x10050bb0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
call dword [0x100b7e10]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10050dbb
mov eax, dword [0x100b7e74]
push ecx
call eax
test al, al
je 0x10050dc2
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x100b7ea0]
push dword [esp + 0x4c]
push 0xde1
call dword [0x100b7dd0]
cmp dword [ebx], 0x14a
jae 0x10050ddf
cmp byte [ebx + 0x25], 0
je 0x10050deb
push dword [esp + 0x38]
push 0
call dword [0x100b7dcc]
push dword [esp + 0x50]
call dword [0x100b7dc0]
push dword [esp + 0x54]
call dword [0x100b7dd4]
push dword [esp + 0x58]
push 0x8892
call dword [0x100b7dc8]
push dword [esp + 0x5c]
push dword [esp + 0x64]
call dword [0x100b7ddc]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
call dword [0x100b7de0]
cmp byte [esp + 0x13], 0
push 0xbe2
je 0x10050e46
call dword [0x100b7e28]
jmp 0x10050e4c
call dword [0x100b7e18]
cmp byte [esp + 0x14], 0
push 0xb44
je 0x10050e60
call dword [0x100b7e28]
jmp 0x10050e66
call dword [0x100b7e18]
cmp byte [esp + 0x15], 0
push 0xb71
je 0x10050e7a
call dword [0x100b7e28]
jmp 0x10050e80
call dword [0x100b7e18]
cmp byte [esp + 0x16], 0
push 0xb90
je 0x10050e94
call dword [0x100b7e28]
jmp 0x10050e9a
call dword [0x100b7e18]
cmp byte [esp + 0x17], 0
push 0xc11
je 0x10050eae
call dword [0x100b7e28]
jmp 0x10050eb4
call dword [0x100b7e18]
cmp dword [ebx], 0x136
jb 0x10050eef
cmp byte [esp + 0x12], 0
push 0x8f9d
je 0x10050ed0
call dword [0x100b7e28]
jmp 0x10050ed6
call dword [0x100b7e18]
cmp dword [ebx], 0x136
jbe 0x10050eef
cmp byte [ebx + 0x26], 0
jne 0x10050eef
push dword [esp + 0x74]
push 0x408
jmp 0x10050f07
push dword [esp + 0x74]
push 0x404
call dword [0x100b7e80]
push dword [esp + 0x78]
push 0x405
call dword [0x100b7e80]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [0x100b7ea8]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
call dword [0x100b7e88]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054aad
mov esp, ebp
pop ebp
ret