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

Disassembly:
fld dword [0x6f08dc]
sub esp, 0x34
push esi
mov esi, ecx
cmp byte [esi + 0x118], 0
fstp dword [esi + 0x78]
push edi
je 0x4ef9aa
mov eax, dword [esi]
mov edx, dword [eax + 0x174]
push 0
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x9c]
call eax
cmp dword [eax + 0x14], 0
jle 0x4ef95e
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx]
jmp 0x4ef960
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 0xb4]
mov ecx, edi
call eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0050e290
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov dword [esi + 0x10c], edx
mov edx, dword [edi]
mov eax, dword [edx + 0xb8]
add esp, 4
mov ecx, edi
call eax
mov byte [esi + 0x118], 0
fld dword [esi + 0xd0]
mov eax, dword [esi + 0xfc]
cmp eax, 4
fstp dword [esp + 8]
fld dword [esp + 8]
mov dword [esp + 0x10], 0
fstp dword [esp + 0x18]
je 0x4f0077
cmp eax, 5
je 0x4f0077
test eax, eax
je 0x4f0077
cmp dword [esi + 0x100], 3
je 0x4f0077
sub eax, 1
push ebx
push ebp
je 0x4efce1
sub eax, 1
je 0x4efb5e
sub eax, 1
jne 0x4efd8e
mov eax, dword [esi + 0x44]
test eax, eax
jle 0x4efa39
mov ebp, dword [esi + 0x20]
lea edi, [eax - 1]
push edi
mov ecx, ebp
call fcn.00401a50
mov ebx, dword [eax + 0x1c]
push edi
mov ecx, ebp
call fcn.00401a50
mov ecx, eax
call fcn.005030d0
add ebx, eax
jmp 0x4efa45
mov ecx, dword [esi + 0x20]
push eax
call fcn.00401a50
mov ebx, dword [eax + 0x1c]
mov eax, dword [esi + 0x44]
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jle 0x4efa53
add eax, 0xffffffff
push eax
mov eax, dword [edx + 0x22c]
call eax
mov ebp, dword [esi + 0x44]
cmp ebp, dword [esi + 0x48]
jg 0x4efabc
test ebp, ebp
mov eax, dword [esi + 0x20]
jl 0x4efa78
cmp ebp, dword [eax + 0x14]
jge 0x4efa78
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + ebp*4]
jmp 0x4efa7a
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x120]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
push esi
mov ecx, edi
call eax
mov ecx, edi
call fcn.005030d0
fld dword [edi + 0x4c]
fld dword [esp + 0x10]
add ebx, eax
fcompp
fnstsw ax
test ah, 5
jp 0x4efab4
fld dword [edi + 0x4c]
fstp dword [esp + 0x10]
add ebp, 1
cmp ebp, dword [esi + 0x48]
jle 0x4efa64
fld dword [esp + 0x10]
fld dword [esi + 0xd0]
fcompp
fnstsw ax
test ah, 5
jnp 0x4efae4
fld dword [esi + 0xe4]
fld dword [esi + 0xd0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4efb31
fldz
mov edi, dword [esi + 0x20]
xor ecx, ecx
fstp dword [esp + 0x10]
cmp dword [edi + 0x14], ecx
jle 0x4efb31
mov edx, edi
mov ebx, dword [edx + 0x14]
lea esp, [esp]
test ecx, ecx
jl 0x4efb11
cmp ecx, dword [edi + 0x14]
jge 0x4efb11
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ecx*4]
jmp 0x4efb13
xor edx, edx
fld dword [edx + 0x4c]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x4efb2a
fld dword [edx + 0x4c]
fstp dword [esp + 0x10]
add ecx, 1
cmp ecx, ebx
jl 0x4efb00
mov eax, dword [esi + 0x44]
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jle 0x4efb3f
add eax, 0xffffffff
push eax
mov eax, dword [edx + 0x220]
call eax
mov dword [esi + 0x58], 0
mov dword [esi + 0xfc], 4
jmp 0x4efd8a
mov ebp, dword [esi + 0x44]
mov ecx, dword [esi + 0x20]
push ebp
call fcn.00401a50
mov edi, eax
mov edx, dword [edi]
mov edx, dword [edx + 0x13c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x54]
push esi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x4c]
push eax
push ecx
mov ecx, edi
call edx
mov bl, al
mov eax, dword [esp + 0x24]
mov dword [esi + 0x58], eax
fld dword [edi + 0x4c]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x4efbb4
fld dword [edi + 0x4c]
fstp dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x4efbd6
mov edx, dword [esi]
fldz
mov eax, dword [edx + 0x264]
push ecx
mov ecx, esi
fstp dword [esp]
call eax
test al, al
je 0x4efbed
cmp dword [esp + 0x18], 0
jl 0x4efbe9
test bl, bl
je 0x4efbe9
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x14]
sub edx, 1
cmp ebp, edx
je 0x4efbed
mov byte [esi + 0x43], 1
cmp dword [esp + 0x18], 0
jne 0x4efbfd
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x14], 0
je 0x4efc14
mov eax, dword [esi + 0x44]
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jle 0x4efc0b
add eax, 0xffffffff
push eax
mov eax, dword [edx + 0x220]
call eax
cmp byte [esi + 0x43], 0
jne 0x4efc64
fld dword [esi + 0xd8]
mov ecx, dword [esi + 0x44]
fchs
push ecx
mov ecx, dword [esi + 0x20]
fstp dword [esp + 0x34]
fld dword [esi + 0xdc]
fchs
fstp dword [esp + 0x38]
call fcn.00401a50
mov edx, dword [esp + 0x28]
mov edi, eax
mov ecx, edi
mov dword [esi + 0x5c], edx
call fcn.00503130
test al, al
je 0x4efc64
mov eax, dword [edi]
mov edx, dword [eax + 0x118]
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call edx
fld dword [esp + 0x10]
fld dword [esi + 0xd0]
fcompp
fnstsw ax
test ah, 5
jnp 0x4efc8c
fld dword [esi + 0xe4]
fld dword [esi + 0xd0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4efcd2
fldz
mov edi, dword [esi + 0x20]
xor ecx, ecx
fstp dword [esp + 0x10]
cmp dword [edi + 0x14], ecx
jle 0x4efcd2
mov eax, edi
mov ebx, dword [eax + 0x14]
test ecx, ecx
jl 0x4efcb2
cmp ecx, dword [edi + 0x14]
jge 0x4efcb2
mov edx, dword [edi + 0x10]
mov edx, dword [edx + ecx*4]
jmp 0x4efcb4
xor edx, edx
fld dword [edx + 0x4c]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x4efccb
fld dword [edx + 0x4c]
fstp dword [esp + 0x10]
add ecx, 1
cmp ecx, ebx
jl 0x4efca1
mov dword [esi + 0xfc], 4
jmp 0x4efd8e
mov eax, dword [esi]
mov edx, dword [eax + 0x22c]
push 0
mov ecx, esi
call edx
fldz
fstp dword [esp + 0x10]
fld dword [esi + 0xcc]
call fcn.00610db0
mov ebx, eax
mov eax, dword [esi + 0x20]
xor ebp, ebp
cmp dword [eax + 0x14], ebp
jle 0x4efd6b
lea esp, [esp]
test ebp, ebp
mov eax, dword [esi + 0x20]
jl 0x4efd24
cmp ebp, dword [eax + 0x14]
jge 0x4efd24
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + ebp*4]
jmp 0x4efd26
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x120]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
push esi
mov ecx, edi
call eax
mov ecx, edi
call fcn.005030d0
fld dword [edi + 0x4c]
fld dword [esp + 0x10]
add ebx, eax
fcompp
fnstsw ax
test ah, 5
jp 0x4efd60
fld dword [edi + 0x4c]
fstp dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
add ebp, 1
cmp ebp, dword [ecx + 0x14]
jl 0x4efd10
mov edx, dword [esi]
mov eax, dword [edx + 0x220]
xor edi, edi
push edi
mov ecx, esi
call eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0xfc], 5
mov byte [esi + 0x43], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
mov ecx, esi
call eax
fld dword [esi + 0xd4]
mov ecx, dword [esi + 0x20]
fstp dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
fld dword [eax + 0x44]
mov ecx, dword [eax + 0x1c]
fstp dword [esp + 0x30]
movzx edi, word [eax + 0x2e]
mov dword [esp + 0x2c], ecx
mov ecx, eax
call fcn.005030d0
mov dword [esp + 0x14], eax
mov eax, dword [esi]
fild dword [esp + 0x14]
movsx edx, di
fild dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
fadd dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x248]
mov ecx, esi
faddp st(1)
mov byte [esi + 0x40], 0
fild dword [esp + 0x34]
xor bl, bl
fsubp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0x40]
fld dword [esp + 0x18]
fstp dword [esp + 0x44]
call edx
fld dword [esp + 0x3c]
fst dword [esp + 0x10]
fld dword [esp + 0x40]
fst dword [esp + 0x14]
fld st(1)
fld dword [esp + 0x20]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x4efe47
fld dword [esp + 0x1c]
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4eff83
cmp byte [esi + 0xc5], 0
je 0x4eff38
fstp st(1)
fld dword [esi + 0xe4]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x4efe88
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4efe8a
mov eax, dword [esi]
fstp st(0)
mov edx, dword [eax + 0x1b4]
push 1
mov ecx, esi
call edx
fld dword [esp + 0x20]
jmp 0x4efe8a
fstp st(1)
fld dword [esp + 0x10]
fld dword [esi + 0xe4]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4efeb8
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4efebc
mov eax, dword [esi]
mov edx, dword [eax + 0x1b4]
push 0
mov ecx, esi
mov bl, 1
call edx
jmp 0x4efebc
fstp st(0)
fstp st(0)
fld dword [esp + 0x14]
fld dword [esi + 0xe8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4efef2
fld dword [esp + 0x1c]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4efef2
mov eax, dword [esi]
fstp st(0)
mov edx, dword [eax + 0x1b8]
push 1
mov ecx, esi
call edx
fld dword [esp + 0x14]
fld dword [esi + 0xe8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4eff26
fld dword [esp + 0x1c]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4eff26
mov eax, dword [esi]
fstp st(0)
mov edx, dword [eax + 0x1b8]
push 0
mov ecx, esi
mov bl, 1
call edx
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fstp dword [esi + 0xd0]
fstp dword [esi + 0xd4]
jmp 0x4eff89
mov eax, dword [esi]
fstp st(0)
mov edx, dword [eax + 0x1dc]
fxch st(1)
fst dword [esi + 0xd0]
sub esp, 8
fxch st(1)
mov ecx, esi
fst dword [esi + 0xd4]
fstp dword [esp + 4]
fstp dword [esp]
call edx
fld dword [esi + 0xe8]
fld dword [esi + 0xd4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4eff89
fld dword [esi + 0xd4]
fstp dword [esi + 0xe8]
jmp 0x4eff89
fstp st(2)
fstp st(0)
fstp st(0)
mov edi, dword [esi + 0x64]
or eax, 0xffffffff
cmp edi, dword [esi + 0x68]
jne 0x4effd5
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
push 1
push edi
mov ecx, esi
call edx
mov edx, dword [esi]
mov dword [esi + 0x88], eax
push eax
mov eax, dword [edx + 0x174]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ebp, dword [eax + 0x10]
mov ecx, eax
mov eax, dword [edx + 0x98]
call eax
mov edx, dword [eax]
push 0
sub edi, ebp
mov ecx, eax
mov eax, dword [edx + 0x58]
push edi
call eax
jmp 0x4effdb
mov dword [esi + 0x88], eax
cmp dword [esi + 0x100], 0
mov dword [esi + 0x8c], eax
jne 0x4f005c
test bl, bl
jne 0x4f005c
fld dword [esi + 0xd0]
fld dword [esi + 0xe4]
fcompp
fnstsw ax
test ah, 5
jp 0x4f001d
cmp byte [esi + 0xc5], bl
je 0x4f001d
mov edx, dword [esi]
fldz
mov eax, dword [edx + 0x1d4]
push ecx
mov ecx, esi
fstp dword [esp]
call eax
fld dword [esi + 0xd4]
fld dword [esi + 0xe8]
fcompp
fnstsw ax
test ah, 5
jp 0x4f006e
cmp byte [esi + 0xc5], 0
je 0x4f006e
mov edx, dword [esi]
fldz
mov eax, dword [edx + 0x1d8]
push ecx
mov ecx, esi
fstp dword [esp]
call eax
pop ebp
pop ebx
pop edi
mov byte [esi + 0x86], 0
pop esi
add esp, 0x34
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x1e4]
push 1
push 0xffffffffffffffff
mov ecx, esi
call eax
fstp st(0)
pop ebp
mov byte [esi + 0x86], 0
pop ebx
pop edi
pop esi
add esp, 0x34
ret