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

Disassembly:
push 0xffffffffffffffff
push 0x534b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0xd4]
push eax
call fcn.004f73d0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0x190]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x80]
test ecx, ecx
mov dword [esp + 0x50], 0x3e570a3d
mov dword [esp + 0x54], 0x3e3851ec
mov dword [esp + 0x58], 0x3c75c28f
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x70], 0x3f666666
mov dword [esp + 0x74], 0x3f4ccccd
mov dword [esp + 0x78], 0x3f19999a
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
je 0x4f447b
mov edx, dword [esi + 0x174]
push edx
call fcn.004f73d0
mov dword [esp + 0x28], eax
jmp 0x4f4483
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x148]
mov ecx, eax
mov edx, eax
mov dword [esp + 0x7c], ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x8c], eax
call fcn.004f4fe0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x184]
test eax, eax
je 0x4f44c2
mov eax, dword [eax + 0x188]
inc eax
mov dword [esp + 0x10], eax
jmp 0x4f44ce
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x198]
jg 0x4f4743
jmp 0x4f44e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x194]
mov dword [esp + 0x18], 0
mov ebx, dword [ecx + eax*4 - 4]
mov ecx, dword [esi + 0x180]
cmp eax, ecx
jne 0x4f450a
lea edx, [esp + 0x50]
lea edi, [esp + 0x70]
mov dword [esp + 0x20], edx
jmp 0x4f4519
lea eax, [esp + 0x60]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
test eax, eax
je 0x4f4538
mov ebp, dword [esi + 0x190]
test ebp, ebp
je 0x4f4538
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jmp 0x4f4546
mov ecx, dword [esp + 0x34]
mov ebp, dword [esi + 0xd4]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x4c], esp
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 0xc], ecx
mov ecx, ebp
mov dword [eax + 8], edx
call fcn.004f6f00
mov ecx, dword [esi + 0x1a4]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x30], eax
jl 0x4f46c6
fild dword [esp + 0x14]
mov dword [esp + 0x1c], 0x10
fstp dword [esp + 0x38]
fild dword [esp + 0x24]
fstp dword [esp + 0x3c]
mov edx, dword [esi + 0x1a0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
fild dword [eax + edx - 8]
fild dword [esp + 0x18]
lea edi, [eax + edx - 0x10]
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx]
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x40]
mov dword [esp + 0x4c], edx
fstp dword [esp + 0x48]
mov ecx, dword [edi + 4]
push ecx
mov ecx, ebx
call dword [eax]
sub eax, 0
je 0x4f4605
dec eax
jne 0x4f4697
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x180]
mov edx, dword [ebx]
cmp eax, ecx
sete cl
push ebp
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x4f4697
mov edx, dword [esi + 0x148]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004ddff0
mov eax, dword [edi + 4]
mov edx, dword [ebx]
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x98], 0
test eax, eax
je 0x4f4643
mov eax, dword [eax]
jmp 0x4f4648
mov eax, dword [0x5688a8]
fld dword [esp + 0x44]
fdiv dword [esi + 0x28]
mov edx, dword [esi + 0x174]
mov ecx, ebp
push edx
push 0xffffffffffffffff
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x54]
fdiv dword [esi + 0x24]
fadd dword [0x5374e8]
fstp dword [esp]
call fcn.004f6f70
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], 0xffffffff
test ecx, ecx
je 0x4f4697
call fcn.0046f6d0
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x1a4]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
jle 0x4f459b
fild dword [esp + 0x18]
fst dword [esp + 0x1c]
fcomp dword [esi + 0x1c]
fnstsw ax
test ah, 5
jp 0x4f470e
mov ecx, dword [esi + 0x148]
mov edx, dword [esp + 0x20]
fild dword [esp + 0x34]
push ecx
push edx
sub esp, 0xc
mov eax, dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esi + 0x1c]
fsub dword [esp + 0x30]
fstp dword [esp + 4]
fild dword [esp + 0x28]
fstp dword [esp]
push eax
call fcn.004de050
add esp, 0x18
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esi + 0x20]
fnstsw ax
and eax, 0x4100
je 0x4f4743
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x198]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x4f44dc
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret
push esi
mov esi, ecx
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x4f4772
call fcn.004f41b0
mov ecx, esi
pop esi
jmp 0x4f43b0