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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x4aa28d
call fcn.004a2d60
mov eax, dword [ebx + 0x144c]
mov ecx, dword [0x5549e8]
cmp eax, ecx
je 0x4a9fb6
mov dword [ebx + 0x1448], esi
cmp dword [ebx + 0x1448], esi
jne 0x4a9fc7
push ebx
call fcn.004a9a00
add esp, 4
mov edx, dword [0x134a47c]
mov ecx, dword [ebx + 0x1448]
xor eax, eax
cmp edx, esi
mov dword [esp + 0x14], esi
jle 0x4a9ff1
cmp ecx, dword [eax*4 + 0x134a480]
je 0x4a9fed
inc eax
cmp eax, edx
jl 0x4a9fdd
jmp 0x4a9ff1
mov dword [esp + 0x14], eax
fld dword [0x55d3bc]
fmul dword [ebx + 0x1440]
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
fmul dword [0x55d3c0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
fmul dword [esp + 0xa4]
mov cl, byte [ebp]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], edx
test cl, cl
fstp dword [esp + 0x20]
mov dword [esp + 0x18], eax
je 0x4aa28d
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0xa0]
mov dl, byte [eax + ebp]
cmp ecx, 0xffffffff
mov byte [esp + 0x1c], dl
je 0x4aa063
cmp eax, ecx
jge 0x4aa28d
mov edx, dword [esp + 0x1c]
and edx, 0xff
mov esi, dword [ebx + edx*4]
cmp esi, 0xffffffff
je 0x4aa27c
fld dword [0x55d3c0]
add esi, 0x40
shl esi, 4
add esi, ebx
fmul dword [esi + 8]
fmul dword [esp + 0xa4]
fmul dword [0x532200]
fld dword [edi]
fmul dword [0x531c1c]
call fcn.00516e2c
fld dword [edi + 4]
fmul dword [0x531c1c]
mov bl, al
mov byte [esp + 0x44], bl
call fcn.00516e2c
fld dword [edi + 8]
fmul dword [0x531c1c]
mov byte [esp + 0x12], al
mov byte [esp + 0x45], al
call fcn.00516e2c
fld dword [edi + 0xc]
fmul dword [0x531c1c]
mov byte [esp + 0x13], al
mov byte [esp + 0x46], al
call fcn.00516e2c
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
mov byte [esp + 0x47], al
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], cl
mov byte [esp + 0x5e], dl
mov byte [esp + 0x5f], al
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], cl
mov byte [esp + 0x76], dl
mov byte [esp + 0x77], al
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], cl
mov byte [esp + 0x8e], dl
mov byte [esp + 0x8f], al
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
fld dword [esi + 8]
fadd dword [esi]
fstp dword [esp + 0x54]
mov edx, dword [esi + 4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
fld dword [esi + 8]
fadd dword [esi]
fstp dword [esp + 0x6c]
fld dword [esi + 0xc]
fadd dword [esi + 4]
fstp dword [esp + 0x70]
mov eax, dword [esi]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
fld dword [esi + 0xc]
fadd dword [esi + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
fstp dword [esp + 0x88]
fld st(0)
fchs
fld dword [0x1300188]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x60]
fld dword [0x130018c]
fmul st(1)
fadd dword [esp + 0x28]
fstp dword [esp + 0x64]
fld dword [0x1300190]
fmul st(1)
fadd dword [esp + 0x2c]
fstp dword [esp + 0x68]
fstp st(0)
fld dword [esp + 0x20]
fld dword [0x1300194]
fmul st(1)
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push 0
push ecx
fadd dword [esp + 0x68]
push 4
push edx
fstp dword [esp + 0x58]
fld dword [0x1300198]
fmul st(1)
fadd dword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [0x130019c]
fmul st(1)
fadd dword [esp + 0x78]
fstp dword [esp + 0x60]
fstp st(0)
fld dword [0x1300188]
fmul st(1)
fadd dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [0x130018c]
fmul st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x44]
fld dword [0x1300190]
fmul st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x48]
fstp st(0)
call fcn.004adf90
add esp, 0x10
test eax, eax
je 0x4aa24b
inc dword [0x13001f0]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], edx
mov dl, byte [eax + ebp + 1]
inc eax
test dl, dl
mov dword [esp + 0x18], eax
jne 0x4aa04f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret