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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x85c
mov dword [esp], 0x208c
call fcn.00780eb8
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 0
mov esi, 0
mov dword [esp + 0x40], 0
cmp dword [esp + 0x40], 1
je 0x6fef69
cmp dword [esp + 0x40], 1
jg 0x6fef49
cmp dword [esp + 0x40], 0
je 0x6fef59
jmp 0x6fef97
cmp dword [esp + 0x40], 2
je 0x6fef79
cmp dword [esp + 0x40], 3
jne 0x6fef97
jmp 0x6fef89
mov esi, dword [0x7980d8]
mov dword [esp + 0x4c], 0x6c8174
jmp 0x6fef97
mov esi, dword [0x7980d4]
mov dword [esp + 0x4c], 0x6c8182
jmp 0x6fef97
mov esi, dword [0x7980e0]
mov dword [esp + 0x4c], 0x6c818f
jmp 0x6fef97
mov esi, dword [0x7980dc]
mov dword [esp + 0x4c], 0x6c81a4
test esi, esi
jne 0x6ff030
mov dword [esp], 0x6c7905
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6c81b8
mov dword [esp + 0x18], 0x6c8a6b
mov dword [esp + 0x14], 0x62a
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6c791c
mov dword [esp + 8], 0x6c8a4e
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6c7905
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6c81b8
mov dword [esp + 0x10], 0x6c8a6b
mov dword [esp + 0xc], 0x62a
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6c7948
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
call fcn.006b91cb
mov edi, dword [esi + 0x78]
mov ebp, dword [esi + 0x74]
cmp edi, ebp
jg 0x6ff044
mov ebp, 0
mov ebx, dword [eax + 0x218]
mov ecx, dword [eax + 0x21c]
mov eax, ecx
or eax, ebx
je 0x6ff06f
imul ecx, ecx, 0x384
mov eax, 0x384
mul ebx
mov dword [esp + 0x30], eax
add edx, ecx
mov dword [esp + 0x34], edx
jmp 0x6ff07f
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test edi, edi
jle 0x6ff1f7
lea ebx, [esp + 0x5c]
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
cmp ebp, 0x5f
jle 0x6ff149
sub ebp, 0x60
cmp ebp, 0x5f
jle 0x6ff149
mov dword [esp], 0x6c7905
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x6c81ba
mov dword [esp + 0x18], 0x6c8ac0
mov dword [esp + 0x14], 0x5f1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6c791c
mov dword [esp + 8], 0x6c8aa0
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x6c7905
call fcn.0077e2fe
mov dword [esp + 0x14], 0x6c81ba
mov dword [esp + 0x10], 0x6c8ac0
mov dword [esp + 0xc], 0x5f1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6c7948
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
lea eax, [ebp + 0x70]
mov edx, dword [esi + eax*8]
and edx, 0xfffffc00
mov dword [esp + 0x2c], edx
mov eax, dword [esi + eax*8 + 4]
mov ecx, edx
mov edx, eax
cmp eax, dword [esp + 0x34]
jb 0x6ff179
ja 0x6ff171
mov eax, dword [esp + 0x30]
cmp ecx, eax
jbe 0x6ff179
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
dec edi
cmp edi, dword [esp + 0x28]
jne 0x6ff1aa
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x6c78a0
lea eax, [esp + 0x850]
sub eax, ebx
lea eax, [eax - 0x14]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0077e24d
jmp 0x6ff1d2
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x6c81c9
lea eax, [esp + 0x850]
sub eax, ebx
lea eax, [eax - 0x14]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0077e24d
mov edi, ebx
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea ebx, [ebx + ecx - 1]
inc dword [esp + 0x28]
inc ebp
mov edi, dword [esi + 0x78]
cmp dword [esp + 0x28], edi
jl 0x6ff0a3
jmp 0x6ff1fb
lea ebx, [esp + 0x5c]
lea eax, [esp + 0x5c]
mov ebp, ebx
sub ebp, eax
je 0x6ff2c0
mov eax, dword [esi + 0x70]
sub eax, 0x384
mov dword [esp + 4], eax
lea edx, [esp + 0x83c]
mov dword [esp], edx
call fcn.00782fc4
mov dword [esp + 0x14], 0x384
lea eax, [esp + 0x83c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6c81d0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
add eax, 0x208c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0077e24d
mov edi, dword [esp + 0x44]
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x44]
lea ebx, [edx + ecx - 1]
mov eax, dword [esp + 0x48]
sub eax, ebx
add eax, 0x208c
mov dword [esp + 8], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0077e100
add ebx, ebp
mov eax, dword [esp + 0x48]
sub eax, ebx
add eax, 0x208c
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6c7f61
mov dword [esp], ebx
call fcn.0077e100
inc ebx
mov dword [esp + 0x44], ebx
inc dword [esp + 0x40]
cmp dword [esp + 0x40], 4
jne 0x6fef32
mov eax, dword [esp + 0x48]
add esp, 0x85c
pop ebx
pop esi
pop edi
pop ebp
ret