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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
jne 0x4e09b1
mov eax, 0
jmp 0x4e0f3e
fld1
fstp dword [ebx + 0xe8]
fld dword [ebx + 0xc0]
fstp dword [ebp - 0xc]
cmp dword [ebx + 0xbc], 0
je 0x4e0aa0
mov eax, dword [ebx + 0xbc]
cmp eax, 1
je 0x4e09e4
cmp eax, 2
je 0x4e0a42
jmp 0x4e0aa0
cmp dword [ebx + 0xb4], 0x5ddf40
je 0x4e0a40
cmp dword [ebx + 0xc4], 0
je 0x4e0a0e
mov eax, dword [ebx + 0xb4]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
add esp, 4
fstp dword [ebx + 0xe8]
fld dword [ebx + 0xc0]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x4e0a40
mov eax, dword [ebx + 0xb4]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
add esp, 4
fmul dword [ebx + 0xc0]
fstp dword [ebp - 0xc]
jmp 0x4e0aa0
cmp dword [ebx + 0xb8], 0x5ddf40
je 0x4e0a9e
cmp dword [ebx + 0xc4], 0
je 0x4e0a6c
mov eax, dword [ebx + 0xb8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
add esp, 4
fstp dword [ebx + 0xe8]
fld dword [ebx + 0xc0]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x4e0a9e
mov eax, dword [ebx + 0xb8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
add esp, 4
fmul dword [ebx + 0xc0]
fstp dword [ebp - 0xc]
jmp 0x4e0aa0
fldz
fld dword [ebp - 0xc]
fucompp
fnstsw ax
sahf
setbe al
movzx eax, al
cmp eax, 0
jne 0x4e0ac0
push dword [ebp - 0xc]
call fcn.004f879b
add esp, 4
push dword [ebx + 0xe8]
call fcn.005b5b10
add esp, 4
fld dword [ebx + 0xe8]
fld1
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x4e0af7
push dword [ebx + 0xe8]
push ebx
mov eax, dword [ebx]
call dword [eax + 0x7c]
add esp, 8
cmp dword [ebx + 0x10], 0x5ddf40
je 0x4e0b3a
push dword [ebx + 0x1c]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
push dword [ebx + 0x10]
call fcn.004f896b
add esp, 0x10
jmp 0x4e0bb3
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
add esp, 4
push dword [ebx + 0x1c]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
call fcn.004f8d0e
add esp, 0x14
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
add esp, 4
push dword [ebx + 0xe8]
call fcn.005b5b10
add esp, 4
push dword [ebx + 0xe8]
push ebx
mov eax, dword [ebx]
call dword [eax + 0x84]
add esp, 8
cmp dword [ebx + 0x78], 0x5ddf40
je 0x4e0c11
cmp dword [ebx + 0xd4], 0
je 0x4e0bfb
mov eax, dword [ebx + 0x78]
mov dword [eax + 0x24], 1
mov eax, dword [ebx + 0x78]
fld dword [ebx + 0xe0]
fstp dword [eax + 0x1c]
mov eax, dword [ebx + 0x78]
fld dword [ebx + 0xe4]
fstp dword [eax + 0x20]
jmp 0x4e0c05
mov eax, dword [ebx + 0x78]
mov dword [eax + 0x24], 0
mov eax, dword [ebx + 0x78]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
add esp, 4
cmp dword [ebx + 0x80], 0x5ddf40
je 0x4e0c3a
mov eax, dword [ebx + 0x80]
push 1
push dword [ebx + 0xe4]
push dword [ebx + 0xe0]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
add esp, 0x10
mov eax, dword [ebx + 0xc]
push 1
push dword [ebx + 0xe4]
push dword [ebx + 0xe0]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
add esp, 0x10
fld1
fstp dword [0x616e00]
cmp dword [ebx + 0x84], 0x5ddf40
je 0x4e0da8
push dword [ebx + 0x90]
push dword [ebx + 0x90]
call fcn.005b5f90
add esp, 8
push dword [ebx + 0x94]
call fcn.005b5f61
add esp, 4
cmp dword [ebx + 0x98], 0x5ddf40
je 0x4e0d3b
mov eax, dword [ebx + 0x98]
fld dword [eax + 0x10]
fstp dword [ebp - 4]
mov eax, dword [ebx + 0x98]
fld dword [ebp - 4]
fmul dword [ebx + 0xe8]
fstp dword [eax + 0x10]
mov eax, dword [ebx + 0x98]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
add esp, 4
push 0
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [ebx + 0x98]
fadd dword [eax + 0xc]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [ebx + 0x98]
fadd dword [eax + 8]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x84]
push dword [eax + 0xc]
call fcn.005b55f9
add esp, 0x10
mov eax, dword [ebx + 0x98]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
mov eax, dword [ebx + 0x98]
fld dword [ebp - 4]
fstp dword [eax + 0x10]
push dword [ebx + 0xe8]
call fcn.005b5b10
add esp, 4
push 0
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x84]
push dword [eax + 0xc]
call fcn.005b55f9
add esp, 0x10
push 0x3f800000
push 0x3f800000
call fcn.005b5f90
add esp, 8
push 0
call fcn.005b5f61
add esp, 4
cmp dword [ebx + 0x9c], 0x5ddf40
je 0x4e0ef4
push dword [ebx + 0xa8]
push dword [ebx + 0xa8]
call fcn.005b5f90
add esp, 8
push dword [ebx + 0xac]
call fcn.005b5f61
add esp, 4
cmp dword [ebx + 0xb0], 0x5ddf40
je 0x4e0e87
mov eax, dword [ebx + 0x98]
fld dword [eax + 0x10]
fstp dword [ebp - 8]
mov eax, dword [ebx + 0x98]
fld dword [ebp - 8]
fmul dword [ebx + 0xe8]
fstp dword [eax + 0x10]
mov eax, dword [ebx + 0xb0]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
add esp, 4
push 0
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [ebx + 0xb0]
fadd dword [eax + 0xc]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [ebx + 0xb0]
fadd dword [eax + 8]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x9c]
push dword [eax + 0xc]
call fcn.005b55f9
add esp, 0x10
mov eax, dword [ebx + 0xb0]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
mov eax, dword [ebx + 0x98]
fld dword [ebp - 8]
fstp dword [eax + 0x10]
push dword [ebx + 0xe8]
call fcn.005b5b10
add esp, 4
push 0
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe4]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fadd dword [ebx + 0xe0]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x9c]
push dword [eax + 0xc]
call fcn.005b55f9
add esp, 0x10
push 0x3f800000
push 0x3f800000
call fcn.005b5f90
add esp, 8
push 0
call fcn.005b5f61
add esp, 4
mov eax, dword [ebx + 0x3c]
cmp eax, 0x5ddf40
setne al
movzx eax, al
cmp eax, 0
je 0x4e0f0a
mov eax, dword [ebx + 0x40]
cmp eax, 0
je 0x4e0f2a
mov eax, dword [ebx + 0x3c]
push dword [ebx + 0xe4]
push dword [ebx + 0xe0]
push eax
mov eax, dword [eax]
call dword [eax + 0x14c]
add esp, 0xc
push 0x3f800000
call fcn.005b5b10
add esp, 4
mov eax, 1
jmp 0x4e0f3e
pop ebx
mov esp, ebp
pop ebp
ret