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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push eax
call fcn.00448a30
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x34], esi
jne 0x4f7fb9
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x60]
push ebx
push eax
push ebx
call fcn.004464c0
lea eax, [esi + 0x60]
push edi
push eax
push edi
call fcn.004464c0
lea ecx, [esp + 0x68]
push 1
push ecx
push edi
push ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.0043fc80
fcom qword [0x550f10]
fst qword [esp + 0x50]
add esp, 0x28
fnstsw ax
test ah, 0x41
jne 0x4f8031
fld qword [0x550f28]
fsub st(1)
xor eax, eax
fstp qword [esp + 0x28]
fstp st(0)
jmp 0x4f8037
mov eax, dword [esp + 0xc]
fstp st(0)
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push edx
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0x60]
push ecx
push edx
push edi
push ebx
push eax
call fcn.0043fa90
mov ebx, eax
add esp, 0x24
test ebx, ebx
jne 0x4f806d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00457cd0
push 0xe
call fcn.004b2890
push 0
push 0
call fcn.00457540
push ebx
call fcn.0048e930
call fcn.004b2a10
call fcn.00457f30
push 0xc0
push 1
call fcn.00547150
add esp, 0x1c
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4f80b6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
mov ecx, dword [ebp + 0x28]
or dh, 2
mov dword [eax + 0x38], 1
test ecx, ecx
mov dword [eax], edx
push eax
je 0x4f80d7
mov eax, dword [ebp + 0x34]
push eax
call fcn.004894e0
jmp 0x4f80e0
mov ecx, dword [ebp + 0x34]
push ecx
call fcn.004894b0
add esp, 8
lea edx, [esp + 0x38]
lea eax, [esp + 0x38]
mov dword [esp + 0x48], 0
push edx
push esi
push eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.004464c0
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x54]
push edx
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004464c0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00418df0
fld qword [esp + 0x30]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
fstp dword [esp + 0x8c]
fld qword [esp + 0x38]
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x90]
fld qword [esp + 0x40]
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], edx
fstp dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x64]
push ecx
lea edx, [esp + 0x34]
push esi
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.004464c0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00418df0
fld qword [esp + 0x44]
add esp, 0x34
xor edi, edi
fstp dword [esp + 0x60]
fld qword [esp + 0x18]
mov dword [esp + 0xc], edi
fstp dword [esp + 0x64]
fld qword [esp + 0x20]
fstp dword [esp + 0x68]
jmp 0x4f8205
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
fild dword [esp + 0xc]
lea edx, [esp + 0x78]
mov dword [esp + 0x88], 0
push edx
mov dword [esp + 0x90], 0
fmul qword [0x5512b8]
sub esp, 8
fstp qword [esp]
push ebx
call fcn.00440080
lea eax, [esp + 0x88]
lea ecx, [esp + 0x88]
push eax
push esi
push ecx
call fcn.004464c0
add esp, 0x1c
test edi, edi
jle 0x4f82a6
cmp edi, 1
jne 0x4f825e
lea eax, [esp + 0x6c]
jmp 0x4f826d
xor eax, eax
cmp edi, 3
setne al
dec eax
lea edx, [esp + 0x60]
and eax, edx
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x90]
push esi
push 0
push eax
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.00440230
add esp, 0x14
test eax, eax
je 0x4f80aa
cmp edi, 1
je 0x4f829f
cmp edi, 3
jne 0x4f82a6
mov eax, dword [esi + 0x10]
or dword [eax + 4], 8
mov eax, dword [esp + 0xc]
mov ecx, 6
inc eax
lea esi, [esp + 0x78]
lea edi, [esp + 0x90]
cmp eax, 4
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xc], eax
jl 0x4f81fd
push ebx
call fcn.00488710
mov edx, dword [esp + 0x38]
push 0x218
push 1
push edx
call fcn.0054714a
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret