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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1c8]
call fcn.005037a0
mov edi, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x4ff1bb
cmp eax, dword [esp + 0x2c]
jl 0x4ff19f
mov ecx, dword [esi + 0xb4]
mov ebx, dword [ecx + eax*4]
test ebx, ebx
je 0x4ff03e
lea edi, [ebx + 0x9c]
xor cl, cl
test edi, edi
je 0x4ff01c
cmp byte [0x992082], cl
je 0x4ff01a
push edi
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff034
cmp byte [0x992082], 0
je 0x4ff034
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp byte [ebx + 0x28], 0
jne 0x4ff12e
cmp dword [esi + 0x1bc], 0
mov dword [esp + 0x14], 0
jle 0x4ff7b6
mov ebp, dword [esp + 0x14]
mov edx, dword [esi + 0x1c4]
add ebp, ebp
add ebp, ebp
mov ebx, dword [edx + ebp]
lea edi, [ebx + 0x9c]
xor cl, cl
test edi, edi
je 0x4ff085
cmp byte [0x992082], cl
je 0x4ff083
push edi
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff09d
cmp byte [0x992082], 0
je 0x4ff09d
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp eax, 0xbf
ja 0x4ff0c0
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4 + 0x3c], edx
setne cl
test cl, cl
jne 0x4ff119
mov ecx, dword [esi + 0x1c4]
add ecx, ebp
mov ecx, dword [ecx]
mov edi, eax
call fcn.004ef2a0
add eax, 0x34
cmp edi, 0xbf
ja 0x4ff0f5
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar edi, 5
test dword [eax + edi*4], edx
setne al
test al, al
jne 0x4ff115
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0x1bc]
mov dword [esp + 0x14], eax
jge 0x4ff7b6
mov eax, dword [esp + 0x10]
jmp 0x4ff053
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [esp + 0x14]
mov ebx, dword [ecx + edx*4]
test ebx, ebx
je 0x4ff7b6
mov edi, eax
shl edi, 4
add edi, dword [esi + 0x78]
lea ebp, [ebx + 0x9c]
xor cl, cl
test ebp, ebp
je 0x4ff157
cmp byte [0x992082], cl
je 0x4ff155
push ebp
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff16f
cmp byte [0x992082], 0
je 0x4ff16f
push ebp
call dword [0x79428c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
fld dword [ebx + 0x30]
mov edx, eax
push edi
shl edx, 4
add edx, dword [esi + 0x78]
push ecx
fstp dword [esp]
push edx
lea eax, [ecx + eax*8]
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.0050ec80
push eax
call fcn.0050ed30
mov edi, dword [esp + 0x40]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x1c8]
call fcn.00503860
mov eax, dword [esp + 0x10]
cmp eax, edi
jl 0x4fefe4
lea ecx, [esi + 0x1e0]
call fcn.005037a0
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x4ff3c2
mov ecx, dword [esi + 0xc0]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x4ff222
lea edi, [ebp + 0x9c]
xor cl, cl
test edi, edi
je 0x4ff200
cmp byte [0x992082], cl
je 0x4ff1fe
push edi
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff218
cmp byte [0x992082], 0
je 0x4ff218
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0x28], 0
jne 0x4ff318
xor ebp, ebp
cmp dword [esi + 0x1bc], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
jle 0x4ff318
jmp 0x4ff240
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0x1c4]
add ebp, ebp
add ebp, ebp
mov ebx, dword [edx + ebp]
lea edi, [ebx + 0x9c]
xor cl, cl
test edi, edi
je 0x4ff272
cmp byte [0x992082], cl
je 0x4ff270
push edi
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff28a
cmp byte [0x992082], 0
je 0x4ff28a
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp eax, 0xbf
ja 0x4ff2ad
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4 + 0x54], edx
setne cl
test cl, cl
jne 0x4ff303
mov ecx, dword [esi + 0x1c4]
add ecx, ebp
mov ecx, dword [ecx]
mov edi, eax
call fcn.004ef2a0
add eax, 0x4c
cmp edi, 0xbf
ja 0x4ff2e2
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar edi, 5
test dword [eax + edi*4], edx
setne al
test al, al
jne 0x4ff2ff
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esi + 0x1bc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
jl 0x4ff240
jmp 0x4ff314
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x14]
mov edi, dword [esi + 0x84]
mov ebx, dword [esi + 0x48]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add edi, eax
add ebx, eax
lea eax, [ebp + 0x9c]
xor cl, cl
test eax, eax
je 0x4ff34f
cmp byte [0x992082], cl
je 0x4ff34d
lea eax, [ebp + 0x9c]
push eax
call dword [0x794290]
mov cl, 1
test cl, cl
je 0x4ff369
cmp byte [0x992082], 0
je 0x4ff369
lea eax, [ebp + 0x9c]
push eax
call dword [0x79428c]
fld dword [ebp + 0x30]
lea edx, [esp + 0x10]
fstp dword [esp + 0x2c]
push edx
fld dword [edi]
lea ecx, [esi + 0x1e0]
fsub dword [ebx]
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld dword [ebx]
faddp st(2)
fxch st(1)
fstp dword [edi]
fld dword [edi + 4]
fsub dword [ebx + 4]
fmul st(1)
fadd dword [ebx + 4]
fstp dword [edi + 4]
fld dword [edi + 8]
fsub dword [ebx + 8]
fmulp st(1)
fadd dword [ebx + 8]
fstp dword [edi + 8]
call fcn.00503860
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x30]
jl 0x4ff1d2
mov edi, dword [esp + 0x30]
lea ebp, [esi + 0xd0]
xor al, al
test ebp, ebp
je 0x4ff3df
cmp byte [0x992082], al
je 0x4ff3dd
push ebp
call dword [0x794290]
mov al, 1
test al, al
mov bl, byte [esi + 0x15c]
je 0x4ff3f9
cmp byte [0x992082], 0
je 0x4ff3f9
push ebp
call dword [0x79428c]
test bl, bl
je 0x4ff7b6
lea ecx, [esi + 0x1f8]
call fcn.005037a0
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x4ff7b6
jmp 0x4ff420
mov ecx, dword [esi + 0xcc]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x4ff470
lea edi, [ebp + 0x9c]
xor cl, cl
test edi, edi
je 0x4ff44e
cmp byte [0x992082], cl
je 0x4ff44c
push edi
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff466
cmp byte [0x992082], 0
je 0x4ff466
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0x28], 0
jne 0x4ff567
cmp dword [esi + 0x1bc], 0
mov dword [esp + 0x2c], 0
jle 0x4ff798
jmp 0x4ff494
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0x1c4]
add ebp, ebp
add ebp, ebp
mov edi, dword [edx + ebp]
lea ebx, [edi + 0x9c]
xor cl, cl
test ebx, ebx
je 0x4ff4c6
cmp byte [0x992082], cl
je 0x4ff4c4
push ebx
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff4de
cmp byte [0x992082], 0
je 0x4ff4de
push ebx
call dword [0x79428c]
mov eax, dword [esp + 0x10]
cmp eax, 0xbf
ja 0x4ff501
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [edi + ecx*4 + 0x6c], edx
setne cl
test cl, cl
jne 0x4ff552
mov ecx, dword [esi + 0x1c4]
add ecx, ebp
mov ecx, dword [ecx]
mov edi, eax
call fcn.004ef2a0
add eax, 0x64
cmp edi, 0xbf
ja 0x4ff536
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar edi, 5
test dword [eax + edi*4], edx
setne al
test al, al
jne 0x4ff552
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esi + 0x1bc]
mov dword [esp + 0x2c], eax
jl 0x4ff490
jmp 0x4ff798
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [eax + ecx*4]
test ebp, ebp
je 0x4ff798
mov ecx, esi
call fcn.004ee730
test al, al
je 0x4ff5cf
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x90]
lea ebx, [edx + eax*4]
lea edi, [ebp + 0x9c]
xor al, al
test edi, edi
je 0x4ff59c
cmp byte [0x992082], al
je 0x4ff59a
push edi
call dword [0x794290]
mov al, 1
test al, al
je 0x4ff5b0
cmp byte [0x992082], 0
je 0x4ff5b0
push edi
call dword [0x79428c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
fld dword [ecx + eax*4]
mov edx, dword [esi + 0x90]
fsub dword [edx + eax*4]
fmul dword [ebp + 0x30]
fadd dword [ebx]
fstp dword [ebx]
jmp 0x4ff798
mov ecx, esi
call fcn.004ee7c0
test al, al
lea ebx, [ebp + 0x9c]
je 0x4ff679
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c]
lea eax, [edx + edx*2]
lea edi, [ecx + eax*4]
xor al, al
test ebx, ebx
je 0x4ff60f
cmp byte [0x992082], al
je 0x4ff60d
push ebx
call dword [0x794290]
mov edx, dword [esp + 0x10]
mov al, 1
test al, al
je 0x4ff627
cmp byte [0x992082], 0
je 0x4ff627
push ebx
call dword [0x79428c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c]
fld dword [ebp + 0x30]
mov eax, dword [esi + 0x60]
fstp dword [esp + 0x2c]
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
fld dword [ecx + edx]
add ecx, edx
fsub dword [eax + edx]
add eax, edx
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fld dword [eax]
faddp st(2)
fxch st(1)
fstp dword [edi]
fld dword [ecx + 4]
fsub dword [eax + 4]
fmul st(1)
fadd dword [eax + 4]
fstp dword [edi + 4]
fld dword [ecx + 8]
fsub dword [eax + 8]
fmulp st(1)
fadd dword [eax + 8]
fstp dword [edi + 8]
jmp 0x4ff798
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xa8]
lea edx, [eax*8]
sub edx, eax
lea edi, [ecx + edx*4]
xor cl, cl
test ebx, ebx
je 0x4ff6aa
cmp byte [0x992082], cl
je 0x4ff6a8
push ebx
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff6c2
cmp byte [0x992082], 0
je 0x4ff6c2
push ebx
call dword [0x79428c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xa8]
fld dword [ebp + 0x30]
fstp dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
fld dword [ecx + edx*4 + 0x10]
lea ecx, [ecx + edx*4 + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x60]
fsub dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fld dword [eax]
faddp st(2)
fxch st(1)
fstp dword [edi + 0x10]
fld dword [ecx + 4]
fsub dword [eax + 4]
fmul st(1)
fadd dword [eax + 4]
fstp dword [edi + 0x14]
fld dword [ecx + 8]
fsub dword [eax + 8]
fmulp st(1)
fadd dword [eax + 8]
fstp dword [edi + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xa8]
lea ecx, [eax*8]
sub ecx, eax
lea edi, [edx + ecx*4]
xor cl, cl
test ebx, ebx
je 0x4ff74a
cmp byte [0x992082], cl
je 0x4ff748
push ebx
call dword [0x794290]
mov eax, dword [esp + 0x10]
mov cl, 1
test cl, cl
je 0x4ff762
cmp byte [0x992082], 0
je 0x4ff762
push ebx
call dword [0x79428c]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xa8]
fld dword [ebp + 0x30]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*4]
mov ecx, dword [esi + 0x6c]
push edi
push ecx
fstp dword [esp]
push edx
lea eax, [ecx + eax*8]
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.0050ec80
push eax
call fcn.0050ed30
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x1f8]
call fcn.00503860
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x30]
jl 0x4ff420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8