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

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
mov dword [ebx], 2
mov dword [ebx + 4], 1
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Failed_to_allocate_MFQE_framebuffer
mov dword [esp + 4], 0x4f
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.6aa7ecd0
mov byte [ebx + 0x57], 0
mov edx, dword [ebx + 0x58]
test edx, edx
jne 0x6a806038
add esp, 0x18
pop ebx
ret
mov eax, dword [ebx]
mov dword [esp + 4], eax
add ebx, 0x5c
mov dword [esp], ebx
call sub.msvcrt.dll_longjmp
lea esi, [esi]
push ebp
push edi
push esi
push ebx
sub esp, 0x50
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
test esi, esi
jle 0x6a806352
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
neg eax
shl eax, 1
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x6c]
shl edx, 1
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x78]
sub esi, 2
mov dword [esp + 0x2c], esi
and esi, 7
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x28]
and eax, 7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edi
nop
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x6a806178
xor edx, edx
mov ecx, dword [esp + 0x34]
lea edi, [ebp + ecx]
mov esi, dword [esp + 0x6c]
lea esi, [ebp + esi]
mov dword [esp + 0x1c], esi
mov eax, ebp
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x10]
jmp 0x6a806155
cmp ebx, ecx
jl 0x6a806147
add ebp, 4
mov esi, dword [esp + 0x14]
movzx ecx, byte [esi + edx]
mov esi, eax
sub esi, ecx
js 0x6a80616c
cmp ebx, esi
jl 0x6a806147
add ecx, ebp
lea ebp, [ecx + eax*4]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [esi + edx]
mov esi, eax
sub esi, ecx
js 0x6a806170
cmp ebx, esi
jl 0x6a806147
add ecx, ebp
mov ebp, dword [esp + 0x18]
movzx esi, byte [ebp + edx]
mov ebp, eax
sub ebp, esi
js 0x6a806174
cmp ebx, ebp
jl 0x6a806147
lea eax, [ecx + esi]
sar eax, 3
mov ecx, dword [esp + 0x68]
mov byte [ecx + edx], al
inc edx
cmp edx, dword [esp + 0x78]
je 0x6a806184
mov esi, dword [esp + 0xc]
movzx eax, byte [esi + edx]
movzx ebp, byte [edi + edx]
mov ecx, eax
sub ecx, ebp
jns 0x6a8060fc
neg ecx
jmp 0x6a8060fc
neg esi
jmp 0x6a806111
neg esi
jmp 0x6a806128
neg ebp
jmp 0x6a80613d
mov edx, dword [esp + 0x6c]
add ebp, edx
mov dword [esp + 0x1c], ebp
nop
mov esi, dword [esp + 0x68]
mov al, byte [esi]
mov byte [esi - 8], al
mov byte [esi - 7], al
mov byte [esi - 6], al
mov byte [esi - 5], al
mov byte [esi - 4], al
mov byte [esi - 3], al
mov byte [esi - 2], al
mov byte [esi - 1], al
mov edi, dword [esp + 0x20]
mov al, byte [edi - 1]
mov byte [edi], al
mov byte [edi + 1], al
mov byte [edi + 2], al
mov byte [edi + 3], al
mov byte [edi + 4], al
mov byte [edi + 5], al
mov byte [edi + 6], al
mov byte [edi + 7], al
mov al, byte [esi]
mov byte [esp + 0x48], al
mov dl, byte [esi + 1]
mov byte [esp + 0x49], dl
mov cl, byte [esi + 2]
mov byte [esp + 0x4a], cl
mov al, byte [esi + 3]
mov byte [esp + 0x4b], al
mov dl, byte [esi + 4]
mov byte [esp + 0x4c], dl
mov cl, byte [esi + 5]
mov byte [esp + 0x4d], cl
mov dl, byte [esi + 6]
mov byte [esp + 0x4e], dl
mov al, byte [esi + 7]
mov byte [esp + 0x4f], al
mov ebx, dword [esp + 0x78]
test ebx, ebx
jle 0x6a80635a
mov ebx, esi
add ebx, 2
mov ecx, 1
jmp 0x6a8062ad
cmp dword [esp + 0x10], edx
jl 0x6a8062e4
add ebp, 4
movzx edx, byte [ebx - 3]
mov edi, eax
sub edi, edx
js 0x6a8062e8
cmp dword [esp + 0x10], edi
jl 0x6a8062e4
add edx, ebp
movzx edi, byte [ebx - 2]
mov ebp, eax
sub ebp, edi
js 0x6a8062f0
cmp dword [esp + 0x10], ebp
jl 0x6a8062e4
lea edi, [edx + edi*4]
mov dword [esp], edi
mov ebp, ecx
movzx edx, byte [ebx - 1]
mov edi, eax
sub edi, edx
mov dword [esp + 0xc], edi
js 0x6a8062f8
cmp dword [esp + 0x10], edi
jl 0x6a806290
add edx, dword [esp]
movzx edi, byte [ebx]
sub eax, edi
js 0x6a806304
cmp dword [esp + 0x10], eax
jl 0x6a806290
add edx, edi
sar edx, 3
mov byte [esp + esi + 0x48], dl
cmp dword [esp + 0x14], 1
jle 0x6a8062a5
mov eax, dword [esp + 0x18]
and eax, 7
mov al, byte [esp + eax + 0x48]
mov byte [ebx - 4], al
inc ecx
inc ebx
cmp dword [esp + 0x78], ebp
jle 0x6a80630c
lea esi, [ecx - 1]
mov dword [esp + 0x14], esi
movzx eax, byte [ebx - 2]
and esi, 7
mov dl, byte [ebx - 2]
mov byte [esp + esi + 0x48], dl
lea edi, [ecx - 3]
mov dword [esp + 0x18], edi
movzx ebp, byte [ebx - 4]
mov edx, eax
sub edx, ebp
jns 0x6a806214
neg edx
cmp dword [esp + 0x10], edx
jge 0x6a80621e
nop
mov ebp, ecx
jmp 0x6a806290
neg edi
jmp 0x6a80622f
neg ebp
jmp 0x6a806249
neg edi
mov dword [esp + 0xc], edi
jmp 0x6a80626d
neg eax
jmp 0x6a806281
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov dl, byte [esp + ebp + 0x48]
mov ecx, dword [esp + 0x3c]
mov al, byte [esp + ecx + 0x48]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x68]
mov byte [esi + ebx], dl
mov byte [esi + ecx], al
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add esi, edi
mov dword [esp + 0x68], esi
inc dword [esp + 0x24]
add dword [esp + 0x20], edi
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x24], eax
jne 0x6a8060bc
add esp, 0x50
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0xffffffff
mov ebx, 0xfffffffe
jmp 0x6a806324