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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.004b90c0
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
lea ebx, [edx + 4]
cmp ebx, dword [edi + 8]
ja 0x4b9ba5
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or eax, ecx
mov dword [edi + 4], ebx
add eax, 3
mov ecx, edi
and eax, 0xfffffffc
push eax
lea eax, [esi + 8]
push eax
call fcn.0047ed60
test al, al
je 0x4b9ba5
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
cmp ebx, 1
jl 0x4b9403
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x24], eax
lea eax, [esi + 0x28]
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x2c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x30]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
lea eax, [esi + 0x34]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
movd xmm1, dword [esi + 0x34]
lea eax, [esi + 0x3c]
movss xmm2, dword [0x6db910]
mov ecx, edi
cvtdq2ps xmm1, xmm1
push eax
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esi + 0x38], xmm0
call fcn.0047ed00
cmp ebx, 1
jl 0x4b959d
test al, al
je 0x4b9ba5
lea eax, [esi + 0x40]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x44]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x48]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x4c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x50]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x54]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x58]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x5c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x60]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x64]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x68]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
cmp ebx, 6
jl 0x4b9604
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
cmp dword [esp + 0x14], 1
sete al
mov byte [esi + 0x6c], al
jmp 0x4b9604
test al, al
je 0x4b9ba5
lea eax, [esi + 0x44]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x4c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x54]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x5c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x64]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x70], eax
lea eax, [esi + 0x74]
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x78]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x7c]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x80]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov dword [esi + 0x84], eax
cmp ebx, 3
jl 0x4b96af
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov dword [esi + 0x88], eax
cmp ebx, 0xa
jl 0x4b96d2
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov dword [esi + 0x8c], eax
cmp ebx, 2
jl 0x4b97cb
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x90], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x94], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x98], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x9c], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0xa0], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0xa4], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0xa8], eax
lea eax, [esp + 0x10]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov dword [esi + 0xac], eax
lea eax, [esi + 0xb0]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xb4]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xb8]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xbc]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
cmp ebx, 2
jl 0x4b983e
lea eax, [esi + 0xc0]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
cmp dword [esp + 0x14], 1
mov ecx, edi
sete al
mov byte [esi + 0xc4], al
lea eax, [esi + 0xc8]
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
movaps xmm0, xmm2
lea eax, [esi + 0xd0]
divss xmm0, dword [esi + 0xc8]
push eax
mov ecx, edi
movss dword [esi + 0xcc], xmm0
call fcn.0047ed00
test al, al
je 0x4b9ba5
movaps xmm0, xmm2
divss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd4], xmm0
cmp ebx, 2
jl 0x4b98d9
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
cmp dword [esp + 0x14], 1
sete al
mov byte [esi + 0xd8], al
lea eax, [esi + 0xdc]
mov ecx, edi
push eax
call fcn.0047ed00
cmp ebx, 1
jl 0x4b9a17
test al, al
je 0x4b9ba5
lea eax, [esi + 0xe0]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xe4]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xe8]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xec]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xf0]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xf4]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xf8]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xfc]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x100]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x104]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x108]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
cmp ebx, 6
jl 0x4b9a8d
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
cmp dword [esp + 0x14], 1
sete al
mov byte [esi + 0x10c], al
jmp 0x4b9a8d
test al, al
je 0x4b9ba5
lea eax, [esi + 0xe4]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xec]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xf4]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0xfc]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x104]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea ebx, [esi + 0x110]
mov ecx, edi
push ebx
call fcn.0047ec60
test al, al
je 0x4b9ba5
movd xmm0, dword [ebx]
movaps xmm1, xmm2
cvtdq2ps xmm0, xmm0
lea ebx, [esi + 0x118]
mov ecx, edi
push ebx
divss xmm1, xmm0
movss dword [esi + 0x114], xmm1
call fcn.0047ec60
test al, al
je 0x4b9ba5
movd xmm0, dword [ebx]
lea eax, [esp + 0x10]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, edi
divss xmm2, xmm0
movss dword [esi + 0x11c], xmm2
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x120], eax
lea eax, [esi + 0x124]
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esi + 0x128], eax
lea eax, [esi + 0x12c]
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x130]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esi + 0x134]
mov ecx, edi
push eax
call fcn.0047ed00
test al, al
je 0x4b9ba5
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov ecx, edi
call fcn.0047ec60
test al, al
je 0x4b9ba5
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, 3
and eax, 0xfffffffc
push eax
lea eax, [esi + 0x138]
push eax
call fcn.0047ed60
test al, al
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8