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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
push ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], esi
call fcn.100286c0
movd xmm0, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x88]
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x44]
add eax, dword [edx]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x40], eax
mulss xmm0, dword [ecx + 0x8c]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], ecx
cvttss2si eax, xmm0
add eax, dword [edx + 4]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
test edx, edx
jl 0x100292c9
jg 0x100292ad
test ecx, ecx
jb 0x100292c9
mov eax, ecx
mov dword [esp + 0x14], 0x5a0000
or eax, edx
mov dword [esp + 0x18], 0
je 0x10029544
jmp 0x100292e0
mov dword [esp + 0x14], 0xffa60000
mov dword [esp + 0x18], 0xffffffff
nop dword [eax]
test edx, edx
jl 0x10029312
jg 0x100292ee
cmp ecx, 0x5a0000
jbe 0x10029312
mov edi, esi
mov dword [esp + 0xc], 0x5a0000
add edi, 0x5a0000
mov dword [esp + 0x10], 0
mov eax, 0x5a0000
adc ebx, 0
xor esi, esi
jmp 0x10029371
cmp edx, 0xffffffff
jg 0x1002933e
jl 0x10029321
cmp ecx, 0xffa60000
jae 0x1002933e
mov edi, esi
mov dword [esp + 0xc], 0xffa60000
sub edi, 0x5a0000
mov dword [esp + 0x10], 0xffffffff
sbb ebx, 0
jmp 0x10029362
mov edi, ecx
mov dword [esp + 0x30], ecx
add edi, esi
mov dword [esp + 0xc], ecx
mov ebx, edx
mov dword [esp + 0x10], edx
adc ebx, dword [esp + 0x1c]
mov eax, ecx
mov esi, edx
test edx, edx
jg 0x10029371
jl 0x10029362
test ecx, ecx
jae 0x10029371
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
neg eax
adc esi, 0
neg esi
shrd eax, esi, 1
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push edi
sar esi, 1
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 0
call fcn.100286c0
movd xmm0, dword [esp + 0x44]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
push esi
push dword [esp + 0x30]
mulss xmm0, dword [ecx + 0x88]
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x50]
add eax, dword [edx]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x4c], eax
mulss xmm0, dword [ecx + 0x8c]
cvttss2si eax, xmm0
add eax, dword [edx + 4]
mov dword [esp + 0x50], eax
call fcn.100283b0
add esp, 0x14
mov esi, eax
add esi, 0x10000
mov eax, esi
adc edx, 0
mov ecx, edx
shld ecx, eax, 1
add eax, eax
add esi, eax
adc edx, ecx
push edx
push esi
push dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.100287d0
add esp, 8
shld edx, eax, 2
shl eax, 2
push edx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100285b0
mov edx, dword [esp + 0x2c]
mov esi, eax
add edx, dword [esp + 0x44]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x30]
adc ecx, dword [esp + 0x34]
push ecx
push edx
push eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
call fcn.100286c0
movd xmm0, dword [esp + 0x74]
mov ecx, dword [ebp + 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mulss xmm0, dword [ecx + 0x88]
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x78]
add eax, dword [esp + 0x64]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x74], eax
mulss xmm0, dword [ecx + 0x8c]
mov ecx, edi
cvttss2si eax, xmm0
add eax, dword [esp + 0x68]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, ebx
sbb eax, dword [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x74]
push eax
call fcn.100286c0
movd xmm0, dword [esp + 0x78]
mov ecx, dword [ebp + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x88]
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x7c]
add eax, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x78], eax
mulss xmm0, dword [ecx + 0x8c]
cvttss2si eax, xmm0
add eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x88]
push eax
push dword [ebp + 8]
call fcn.10029630
mov ecx, dword [esp + 0x7c]
add esp, 0x40
mov eax, dword [esp + 0x38]
mov esi, edi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov eax, ecx
sbb edx, dword [esp + 0x10]
or eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ebx
jne 0x100292e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret