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

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
push 0
call fcn.00484fe0
push 0
call fcn.00484df0
push 0
call fcn.004851a0
push 0
call fcn.00485010
push 4
call fcn.00485040
push 0
call fcn.00485210
push 0x4ab71b00
call fcn.004e4510
mov al, byte [0x54d828]
add esp, 0x1c
test al, al
je 0x4a9086
test byte [0x11ae9f4], 8
je 0x4a9086
fld dword [0x11ac3ac]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x4a9086
fld dword [0x8171fc]
fmul dword [0x11ac3ac]
push 0
fmul qword [0x5271a0]
call fcn.004b6898
push eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004cbb50
lea ecx, [esp + 0x70]
push ecx
call fcn.004cbc70
add esp, 0x14
mov esi, 0x11ac3f8
lea edx, [esp + 0x60]
lea eax, [esp + 0x54]
push edx
push esi
push eax
call fcn.004cb570
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, esi
add esi, 0xc
add esp, 0xc
cmp esi, 0x11ae018
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jl 0x4a9052
mov ebp, 0x11ae094
xor ebx, ebx
lea eax, [ebx + 0x11ac3f8]
mov ecx, dword [ebx + 0x11ac3f8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xd4]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x58]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x74]
push eax
call fcn.004cb570
mov al, byte [0x54d828]
add esp, 0xc
test al, al
mov byte [esp + 0x69], 0x20
je 0x4a913e
lea ecx, [ebx + 0x11e55b8]
mov edx, dword [ebx + 0x11e55b8]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fsub dword [esp + 0x6c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
call fcn.004cb930
fstp dword [esp + 0x14]
add esp, 4
fld dword [esp + 0x10]
fcomp qword [0x527198]
fnstsw ax
test ah, 0x41
jne 0x4a92e4
mov al, byte [0x54d828]
test al, al
je 0x4a92e4
fld dword [esp + 0x30]
fdiv dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fdiv dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fdiv dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [0x527194]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], esi
fst dword [esp + 0x14]
fcomp dword [0x51d834]
fnstsw ax
test ah, 0x41
jne 0x4a91d7
mov dword [esp + 0x14], 0x3f800000
fld dword [esp + 0x14]
fmul dword [0x527190]
fsubr qword [0x51f240]
fcom dword [0x51d808]
fnstsw ax
test ah, 1
je 0x4a91fc
fstp st(0)
fld dword [0x51d808]
fld dword [esp + 0x14]
fmul qword [0x527188]
fld dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
fmul st(1)
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
mov dword [esp + 0x44], edx
mov byte [esp + 0xa1], 0x20
mov dword [esp + 0xcc], 0
fstp dword [esp + 0x4c]
fmul dword [esp + 0x50]
fld dword [esp + 0x6c]
fadd dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x60]
push eax
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd st(1)
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xac], ecx
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fstp st(0)
fmul qword [0x527180]
mov dword [esp + 0xb0], edx
fadd qword [str.333333]
fstp dword [esp + 0x98]
call fcn.004e3360
lea ecx, [esp + 0x9c]
push ecx
call fcn.004e3360
mov edx, dword [ebp]
push edx
call fcn.00484bf0
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.004e26d0
add esp, 0x14
jmp 0x4a9350
lea edx, [esp + 0x60]
mov byte [esp + 0x69], 0x20
push edx
call fcn.004e3360
add esp, 4
test al, al
jne 0x4a9350
lea eax, [esp + 0x60]
mov dword [esp + 0x94], 0x3f800000
push eax
call fcn.004e35b0
fld dword [esp + 0x64]
fadd dword [0x51d834]
mov ecx, 0xe
lea esi, [esp + 0x64]
lea edi, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x9c]
mov ecx, dword [ebp]
push ecx
call fcn.00484bf0
lea edx, [esp + 0xa0]
lea eax, [esp + 0x68]
push edx
push eax
call fcn.004cd270
add esp, 0x10
mov al, byte [0x54d828]
test al, al
je 0x4a9377
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
lea ecx, [ebx + 0x11e55b8]
mov dword [ebx + 0x11e55b8], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
add ebp, 4
add ebx, 0xc
cmp ebp, 0x11ae9f4
jl 0x4a908d
push 1
call fcn.00485210
push 0x476a6000
call fcn.004e4510
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret