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

Disassembly:
push 0xffffffffffffffff
push 0x52f7f8
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.004f2560
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 + 0x18c]
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 0x4ef9fb
mov edx, dword [esi + 0x174]
push edx
call fcn.004f2560
mov dword [esp + 0x28], eax
jmp 0x4efa03
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.004f0560
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x184]
test eax, eax
je 0x4efa42
mov eax, dword [eax + 0x188]
inc eax
mov dword [esp + 0x10], eax
jmp 0x4efa4e
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x194]
jg 0x4efcc3
jmp 0x4efa60
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x190]
mov dword [esp + 0x18], 0
mov ebx, dword [ecx + eax*4 - 4]
mov ecx, dword [esi + 0x180]
cmp eax, ecx
jne 0x4efa8a
lea edx, [esp + 0x50]
lea edi, [esp + 0x70]
mov dword [esp + 0x20], edx
jmp 0x4efa99
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 0x4efab8
mov ebp, dword [esi + 0x18c]
test ebp, ebp
je 0x4efab8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jmp 0x4efac6
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.004f20c0
mov ecx, dword [esi + 0x1a0]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x30], eax
jl 0x4efc46
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 + 0x19c]
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 0x4efb85
dec eax
jne 0x4efc17
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 0x4efc17
mov edx, dword [esi + 0x148]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004d95d0
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 0x4efbc3
mov eax, dword [eax]
jmp 0x4efbc8
mov eax, dword [0x561d10]
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 [0x5314e8]
fstp dword [esp]
call fcn.004f2130
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], 0xffffffff
test ecx, ecx
je 0x4efc17
call fcn.0046c950
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 + 0x1a0]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
jle 0x4efb1b
fild dword [esp + 0x18]
fst dword [esp + 0x1c]
fcomp dword [esi + 0x1c]
fnstsw ax
test ah, 5
jp 0x4efc8e
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.004d9630
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 0x4efcc3
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x194]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x4efa5c
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 + 0x1a8]
test eax, eax
je 0x4efcf2
call fcn.004ef730
mov ecx, esi
pop esi
jmp 0x4ef930