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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x100a801c]
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 0x10047f11
test edi, edi
jle 0x10047f11
mov ebx, dword [0x100a9f28]
test ebx, ebx
je 0x10047976
mov ebx, dword [ebx + 0x74]
jmp 0x10047978
xor ebx, ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x18], ebx
push eax
push 0x84e0
call dword [0x100a9fb8]
push 0x84c0
call dword [0x100a9f30]
lea eax, [esp + 0x34]
push eax
push 0x8b8d
call dword [0x100a9fb8]
lea eax, [esp + 0x4c]
push eax
push 0x8069
call dword [0x100a9fb8]
cmp dword [ebx], 0x14a
jae 0x100479cf
cmp byte [ebx + 0x25], 0
jne 0x100479cf
mov dword [esp + 0x38], 0
jmp 0x100479df
lea eax, [esp + 0x38]
push eax
push 0x8919
call dword [0x100a9fb8]
lea eax, [esp + 0x58]
push eax
push 0x8894
call dword [0x100a9fb8]
lea eax, [esp + 0x54]
push eax
push 0x85b5
call dword [0x100a9fb8]
lea eax, [esp + 0x74]
push eax
push 0xb40
call dword [0x100a9fb8]
lea eax, [esp + 0x7c]
push eax
push 0xba2
call dword [0x100a9fb8]
lea eax, [esp + 0x8c]
push eax
push 0xc10
call dword [0x100a9fb8]
lea eax, [esp + 0x70]
push eax
push 0x80c9
call dword [0x100a9fb8]
lea eax, [esp + 0x6c]
push eax
push 0x80c8
call dword [0x100a9fb8]
lea eax, [esp + 0x68]
push eax
push 0x80cb
call dword [0x100a9fb8]
lea eax, [esp + 0x64]
push eax
push 0x80ca
call dword [0x100a9fb8]
lea eax, [esp + 0x60]
push eax
push 0x8009
call dword [0x100a9fb8]
lea eax, [esp + 0x5c]
push eax
push 0x883d
call dword [0x100a9fb8]
mov eax, dword [0x100a9fe0]
push 0xbe2
call eax
mov ecx, dword [0x100a9fe0]
push 0xb44
mov byte [esp + 0x17], al
call ecx
mov ecx, dword [0x100a9fe0]
push 0xb71
mov byte [esp + 0x18], al
call ecx
mov ecx, dword [0x100a9fe0]
push 0xb90
mov byte [esp + 0x19], al
call ecx
mov ecx, dword [0x100a9fe0]
push 0xc11
mov byte [esp + 0x1a], al
call ecx
cmp dword [ebx], 0x136
mov byte [esp + 0x17], al
jb 0x10047b01
mov ecx, dword [0x100a9fe0]
push 0x8f9d
call ecx
mov byte [esp + 0x12], al
jmp 0x10047b06
mov byte [esp + 0x12], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
call dword [0x100a9fac]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.100476a0
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 0x10047d56
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 0x10047bec
cmp dword [eax + 0x50], esi
jge 0x10047bad
push 0x88e0
push 0
push esi
push 0x8892
mov dword [eax + 0x50], esi
call dword [0x100a9f54]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x54], ebx
jge 0x10047bc8
push 0x88e0
push 0
push ebx
push 0x8893
mov dword [eax + 0x54], ebx
call dword [0x100a9f54]
push dword [edi + 0x20]
push esi
push 0
push 0x8892
call dword [0x100a9f58]
push dword [edi + 0x14]
push ebx
push 0
push 0x8893
call dword [0x100a9f58]
jmp 0x10047c14
push 0x88e0
push dword [edi + 0x20]
push esi
push 0x8892
call dword [0x100a9f54]
push 0x88e0
push dword [edi + 0x14]
push ebx
push 0x8893
call dword [0x100a9f54]
cmp dword [edi], 0
mov dword [esp + 0x28], 0
jle 0x10047d3c
xor ebx, ebx
mov esi, dword [edi + 8]
add esi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10047c61
cmp eax, 0xffffffff
jne 0x10047c55
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.100476a0
add esp, 8
jmp 0x10047d28
push esi
push edi
call eax
add esp, 8
jmp 0x10047d28
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 0x10047d28
comiss xmm3, xmm1
jae 0x10047d28
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 [0x100a9ff8]
push dword [esi + 0x10]
push 0xde1
call dword [0x100a9f40]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x140
mov eax, dword [esi + 0x18]
jb 0x10047d15
push dword [esi + 0x14]
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100a9f94]
jmp 0x10047d28
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100a9f90]
mov eax, dword [esp + 0x28]
add ebx, 0x28
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x10047c27
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 4]
jl 0x10047b70
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
call dword [0x100a9f80]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10047d7b
mov eax, dword [0x100a9fe4]
push ecx
call eax
test al, al
je 0x10047d82
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x100aa010]
push dword [esp + 0x4c]
push 0xde1
call dword [0x100a9f40]
cmp dword [ebx], 0x14a
jae 0x10047d9f
cmp byte [ebx + 0x25], 0
je 0x10047dab
push dword [esp + 0x38]
push 0
call dword [0x100a9f3c]
push dword [esp + 0x50]
call dword [0x100a9f30]
push dword [esp + 0x54]
call dword [0x100a9f44]
push dword [esp + 0x58]
push 0x8892
call dword [0x100a9f38]
push dword [esp + 0x5c]
push dword [esp + 0x64]
call dword [0x100a9f4c]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
call dword [0x100a9f50]
cmp byte [esp + 0x13], 0
push 0xbe2
je 0x10047e06
call dword [0x100a9f98]
jmp 0x10047e0c
call dword [0x100a9f88]
cmp byte [esp + 0x14], 0
push 0xb44
je 0x10047e20
call dword [0x100a9f98]
jmp 0x10047e26
call dword [0x100a9f88]
cmp byte [esp + 0x15], 0
push 0xb71
je 0x10047e3a
call dword [0x100a9f98]
jmp 0x10047e40
call dword [0x100a9f88]
cmp byte [esp + 0x16], 0
push 0xb90
je 0x10047e54
call dword [0x100a9f98]
jmp 0x10047e5a
call dword [0x100a9f88]
cmp byte [esp + 0x17], 0
push 0xc11
je 0x10047e6e
call dword [0x100a9f98]
jmp 0x10047e74
call dword [0x100a9f88]
cmp dword [ebx], 0x136
jb 0x10047eaf
cmp byte [esp + 0x12], 0
push 0x8f9d
je 0x10047e90
call dword [0x100a9f98]
jmp 0x10047e96
call dword [0x100a9f88]
cmp dword [ebx], 0x136
jbe 0x10047eaf
cmp byte [ebx + 0x26], 0
jne 0x10047eaf
push dword [esp + 0x74]
push 0x408
jmp 0x10047ec7
push dword [esp + 0x74]
push 0x404
call dword [0x100a9ff0]
push dword [esp + 0x78]
push 0x405
call dword [0x100a9ff0]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [0x100aa018]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
call dword [0x100a9ff8]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004ad35
mov esp, ebp
pop ebp
ret