Function at 0xf035f26
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push esi
xor esi, esi
cmp dword [0xf09b550], esi
jne 0xf035fa7
call fcn.0f036adc
cmp dword [0xf063a68], esi
je 0xf035f98
cmp dword [0xf070748], esi
jne 0xf035f98
push dword [0xf09b5cc]
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov eax, dword [0xf09b5dc]
sub eax, dword [0xf09b5d8]
mov word [ebp - 0x2c], si
mov word [ebp - 0x26], ax
mov eax, dword [0xf09b5da]
sub eax, dword [0xf09b5d6]
mov word [ebp - 0x2a], si
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call fcn.0f035c85
call fcn.0f03bdf4
jmp 0xf036359
push ebx
push edi
call fcn.0f035d51
test eax, eax
jne 0xf03620a
lea eax, [ebp - 0x44]
push eax
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0xf035fe5
push 0x54c
push 0xf0023fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x3e9
call fcn.0f034820
movsx eax, word [ebp - 0x38]
movsx ecx, word [ebp - 0x34]
sub ecx, eax
inc ecx
mov dword [ebp - 8], esi
xor eax, eax
movzx edx, word [eax + 0xf063be0]
cmp edx, ecx
je 0xf03600b
inc dword [ebp - 8]
add eax, 0xa
cmp eax, 0x32
jb 0xf035ff5
cmp dword [ebp - 8], 5
jne 0xf036018
mov dword [ebp - 8], 4
push 0xf0706b8
push 0xf06c828
push dword [0xf09b520]
call sub.KERNEL32.dll_GetConsoleHardwareState
push 0x462
call fcn.0f00f639
mov bl, al
lea eax, [ebp - 1]
push eax
push 0x3cc
call fcn.0f01adec
movzx ebx, bl
imul ebx, ebx, 0xfa0
test byte [ebp - 1], 1
je 0xf03605e
add ebx, 0xb8000
jmp 0xf036064
add ebx, 0xb0000
push 0x44a
mov esi, 0xf06c830
call fcn.0f00f64c
push 0x484
movzx edi, ax
call fcn.0f00f639
and dword [ebp - 0x1c], 0
movzx ax, al
mov word [ebp - 0x10], 0x50
mov word [ebp - 0xe], 0x32
inc eax
movsx ecx, ax
test ecx, ecx
jbe 0xf0360f1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
and dword [ebp - 0x14], 0
test edi, edi
mov eax, ebx
jbe 0xf0360cd
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dl, byte [eax]
inc eax
mov byte [esi], dl
movzx dx, byte [eax]
mov word [esi + 2], dx
inc eax
add esi, 4
dec dword [ebp - 0xc]
jne 0xf0360b2
cmp edi, 0x50
jae 0xf0360e2
push 0x50
pop eax
sub eax, dword [ebp - 0x14]
mov byte [esi], 0x20
mov word [esi + 2], 7
add esi, 4
dec eax
jne 0xf0360d3
lea eax, [edi + edi]
add ebx, eax
dec dword [ebp - 0x18]
jne 0xf0360a2
cmp ecx, 0x32
jae 0xf03610c
push 0x32
pop eax
sub eax, dword [ebp - 0x1c]
push 0x50
pop ecx
mov byte [esi], 0x20
mov word [esi + 2], 7
add esi, 4
dec ecx
jne 0xf0360fa
dec eax
jne 0xf0360f7
xor eax, eax
mov word [ebp - 0xa], ax
mov word [ebp - 0xc], ax
mov word [ebp - 0x22], ax
mov word [ebp - 0x24], ax
mov word [ebp - 0x20], 0x4f
mov word [ebp - 0x1e], 0x31
call fcn.0f03bdf4
mov esi, dword [ebp - 8]
mov ax, word [0xf06c828]
lea esi, [esi + esi*4]
shl esi, 1
cmp ax, word [esi + 0xf063be2]
jne 0xf036197
mov ax, word [0xf06c82a]
cmp ax, word [esi + 0xf063be4]
jne 0xf036197
mov ax, word [0xf0706b8]
cmp ax, word [esi + 0xf063be6]
jne 0xf036197
mov ax, word [0xf0706ba]
cmp ax, word [esi + 0xf063be8]
jne 0xf036197
push 0x44a
call fcn.0f00f639
cmp al, 0x28
je 0xf036197
push 0x485
call fcn.0f00f639
movzx eax, al
cmp word [0xf0706ba], ax
je 0xf0361ae
push dword [esi + 0xf063be6]
push dword [esi + 0xf063be2]
push dword [0xf09b520]
call sub.KERNEL32.dll_SetConsoleHardwareState
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0xf06c830
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
test eax, eax
jne 0xf0361e8
push 0x644
push 0xf0023fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x3e9
call fcn.0f034820
movsx eax, word [0xf06c82a]
mov dword [0xf09b5ac], eax
movsx eax, word [0xf0706ba]
mov dword [0xf09b59c], eax
call fcn.0f035c85
jmp 0xf036352
push 3
push 0x449
call fcn.0f00f660
lea eax, [ebp - 0x44]
push eax
push dword [0xf09b520]
mov dword [0xf0706d4], 1
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
mov ebx, 0xf0023fc
jne 0xf036253
push 0x67b
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0x3e9
push edi
call fcn.0f034820
jmp 0xf036258
mov edi, 0x3e9
movsx eax, word [ebp - 0x38]
movsx ecx, word [ebp - 0x34]
sub ecx, eax
inc ecx
mov dword [ebp - 8], esi
xor eax, eax
movzx edx, word [eax + 0xf063be0]
cmp edx, ecx
je 0xf03627e
inc dword [ebp - 8]
add eax, 0xa
cmp eax, 0x32
jb 0xf036268
cmp dword [ebp - 8], 5
jne 0xf03628b
mov dword [ebp - 8], 4
mov esi, 0xf06c830
mov word [ebp - 0x10], 0x50
mov word [ebp - 0xe], 0x32
mov eax, esi
mov ecx, 0xfa0
mov byte [eax], 0x20
mov word [eax + 2], 7
add eax, 4
dec ecx
jne 0xf0362a3
xor eax, eax
mov word [ebp - 0xa], ax
mov word [ebp - 0xc], ax
mov word [ebp - 0x22], ax
mov word [ebp - 0x24], ax
mov word [ebp - 0x20], 0x4f
mov word [ebp - 0x1e], 0x31
call fcn.0f03bdf4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
test eax, eax
jne 0xf036303
push 0x6af
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0f034820
and word [ebp - 0x1c], 0
and word [ebp - 0x1a], 0
push dword [ebp - 0x1c]
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne 0xf036333
push 0x6b5
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0f034820
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
shl eax, 1
push dword [eax + 0xf063be6]
push dword [eax + 0xf063be2]
push dword [0xf09b520]
call sub.KERNEL32.dll_SetConsoleHardwareState
call fcn.0f036adc
pop edi
pop ebx
push 0xf09ada0
push dword [0xf09b520]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
call fcn.0f036b49
pop esi
leave
ret