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

Disassembly:
sub esp, 0x98
push ebx
push esi
push edi
push 1
call fcn.00484fe0
push 0
call fcn.00485210
push 0
call fcn.00485250
mov al, byte [0x54d828]
add esp, 0xc
test al, al
je 0x4a949e
test byte [0x11ae9f4], 0x10
je 0x4a949e
fld dword [0x11ac3ac]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x4a949e
fld dword [0x8171fc]
fmul dword [0x11ac3ac]
push 0
fmul qword [0x5271a0]
call fcn.004b6898
push eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004cbb50
lea ecx, [esp + 0x90]
push ecx
call fcn.004cbc70
add esp, 0x14
mov ebx, 0x11abca4
mov esi, ebx
mov edi, 0x10
mov edx, esi
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [edx + 8]
push ecx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x4c]
push edx
call fcn.004cb570
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
add esi, 0x48
dec edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jne 0x4a9447
add ebx, 0xc
cmp ebx, 0x11abcec
jl 0x4a9440
xor ebx, ebx
mov esi, ebx
mov edi, 0x10
lea edx, [esi + 0x11abca4]
mov eax, dword [esi + 0x11abca4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [edx + 4]
fld dword [eax + 4]
fmul dword [0x51d830]
mov edx, dword [edx + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x24], edx
fsubr dword [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esi + 0x11e8d58]
push edx
fstp dword [esp + 0x28]
push eax
call fcn.004cb570
add esp, 0xc
add esi, 0x48
dec edi
jne 0x4a94a7
add ebx, 0xc
cmp ebx, 0x48
jl 0x4a94a0
mov eax, dword [0x11ac3b0]
mov ecx, eax
mov edx, eax
shr ecx, 0x10
and ecx, 0xff
and eax, 0xff
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
shr edx, 8
and edx, 0xff
fmul qword [0x51f708]
mov dword [esp + 0xc], edx
fstp dword [esp + 0x74]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [0x11abca0]
test eax, eax
fmul qword [0x51f708]
fstp dword [esp + 0x6c]
fild dword [esp + 0xc]
fmul qword [0x51f708]
fstp dword [esp + 0x70]
jne 0x4a956d
call fcn.004a80e0
jmp 0x4a9572
call fcn.004a8380
test byte [0x11ae9f4], 1
je 0x4a958b
mov eax, dword [esp + 0xac]
push eax
call fcn.004a8fb0
add esp, 4
test byte [0x11ae9f4], 2
je 0x4a98d0
push 1
call fcn.004851d0
push 0
call fcn.00485010
mov al, byte [0x11ae070]
add esp, 8
test al, al
mov dword [esp + 0x40], 0
jbe 0x4a98d0
push ebp
mov edi, 0x11ac3bc
mov ebx, 0x11ae072
mov dword [esp + 0x10], 0x11ae018
movsx ecx, word [ebx]
push 0
push 0
push ecx
call fcn.0043dc20
mov ebp, dword [esp + 0xb8]
mov esi, eax
mov edx, ebp
mov eax, dword [edx]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov edx, dword [edx + 8]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x38]
fsub dword [esp + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x1ca0]
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x6c]
push edx
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
call fcn.004cb450
fstp st(0)
fld dword [0x11ac3a8]
fmul dword [0x51f254]
fld dword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
fmul st(1)
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [ebp]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], eax
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul st(1)
mov ecx, dword [ebp + 4]
add esp, 0x10
mov dword [esp + 0x3c], ecx
mov edx, dword [ebp + 8]
fstp dword [esp + 0x58]
mov dword [esp + 0x40], edx
fmul dword [esp + 0x5c]
fld dword [esp + 0x38]
fadd dword [esp + 0x54]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
fadd st(1)
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fstp st(0)
mov dword [esp + 0x28], edx
movsx eax, word [ebx]
mov edx, dword [edi]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x14], eax
mov eax, dword [ecx*8 + 0x8e898c]
lea ebp, [ecx*8 + 0x8e8968]
test eax, 0x200000
je 0x4a9727
push 9
jmp 0x4a9729
push 3
call fcn.00485040
add esp, 4
push 0
call fcn.00484fe0
fld dword [ebp + 0x68]
fmul dword [0x51f390]
call fcn.004b6898
push eax
call fcn.004851b0
mov eax, dword [0x11cfb68]
add esp, 8
test eax, eax
je 0x4a9789
mov ecx, dword [0x1044b98]
mov edx, dword [0x1044b9c]
push ecx
push edx
push 0xff00
call fcn.00484720
mov eax, dword [0x1044b98]
mov ecx, dword [0x1044b9c]
push eax
push ecx
call fcn.00484770
add esp, 0x14
mov dword [esp + 0x6c], eax
push 1
call fcn.004e3350
add esp, 4
push esi
push 0
push esi
call fcn.004c656d
mov dword [esp + 0x24], eax
push 0
fild dword [esp + 0x28]
push esi
fmul dword [esp + 0x30]
fstp dword [esp + 0x28]
call fcn.004c64e8
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
fild dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x68]
lea ecx, [esp + 0x28]
fdivr dword [esp + 0x1c]
fstp dword [esp]
push edx
push 0
push eax
push ecx
call fcn.004e2cb0
push 0
call fcn.004e3350
mov al, byte [0xf5b5c4]
mov ebp, dword [esp + 0x60]
add esp, 0x1c
test al, al
je 0x4a9870
test byte [ebp + 0x11ae054], 2
je 0x4a9870
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004cc360
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
add esp, 8
push ecx
push edx
push eax
push esi
push 0
push esi
call fcn.004c656d
mov dword [esp + 0x2c], eax
push 0
fild dword [esp + 0x30]
push esi
fmul dword [esp + 0x3c]
fstp dword [esp + 0x38]
call fcn.004c64e8
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0x34]
mov edx, dword [esp + 0xa0]
add esp, 0xc
lea eax, [esp + 0x34]
fdivr dword [esp + 0x2c]
fstp dword [esp]
push ecx
push edx
push eax
call fcn.004a8cf0
add esp, 0x20
mov eax, dword [0x11cfb68]
test eax, eax
je 0x4a98a7
mov ecx, dword [0x1044b98]
mov edx, dword [0x1044b9c]
push ecx
push edx
call fcn.00484770
mov ecx, dword [esp + 0x74]
add esp, 8
cmp eax, ecx
je 0x4a98a7
mov dword [0x11cfb5c], ebp
mov dword [0x1022b84], 2
mov eax, dword [0x11ae070]
mov ecx, dword [esp + 0x10]
inc ebp
and eax, 0xff
add ecx, 0xc
add ebx, 2
add edi, 4
cmp ebp, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x10], ecx
jl 0x4a95d1
pop ebp
mov cl, byte [0xf5b530]
pop edi
and cl, 0x11
pop esi
cmp cl, 0x11
pop ebx
jne 0x4a98e6
call fcn.004a8ad0
push 0xff
call fcn.004851b0
push 1
call fcn.00485210
add esp, 0xa0
ret