Function at 0x10001000
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x100b9668]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100bcbd0]
mov ecx, dword [0x100bcbd4]
lea edx, [eax - 1]
imul edx, eax
test dl, 1
sete byte [ebp - 0x11]
cmp ecx, 0xa
setl byte [ebp - 0x12]
mov eax, 0xcea8f7d7
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4677eb62
mov ecx, 0x657a20e9
nop dword [eax]
cmove eax, ecx
cmp dword [0x100bcbd4], 0xa
cmovl eax, ecx
cmp eax, 0xf7e2b123
jg 0x100010c0
cmp eax, 0xbce6c0bd
jg 0x10001110
cmp eax, 0x9644ccef
jg 0x100011b1
cmp eax, 0x8b7b1417
jg 0x100012c3
cmp eax, 0x85f3cb86
jg 0x1000149f
cmp eax, 0x85505fa3
je 0x100017ec
cmp eax, 0x85c6b292
jne 0x1000106d
mov eax, 0xb0276428
jmp 0x1000106d
cmp eax, 0x46250ea7
jle 0x10001170
cmp eax, 0x5f7cdb6f
jg 0x100011e7
cmp eax, 0x4ce70c80
jg 0x10001301
cmp eax, 0x4a168f7f
jg 0x100014d2
cmp eax, 0x46250ea8
je 0x10001809
cmp eax, 0x4677eb62
jne 0x1000106d
mov eax, 0x657a20e9
jmp 0x1000106d
cmp eax, 0xcdf1f7b0
jg 0x10001242
cmp eax, 0xc216761e
jg 0x1000132c
cmp eax, 0xbf57e6c7
jg 0x10001505
cmp eax, 0xbce6c0be
je 0x10001813
cmp eax, 0xbdba03c0
jne 0x1000106d
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, 0xe7c28c56
jmp 0x1000106d
cmp eax, 0x2548cd54
jle 0x1000128d
cmp eax, 0x3095dfae
jg 0x1000136a
cmp eax, 0x29ee5aa7
jg 0x10001525
cmp eax, 0x2548cd55
je 0x10001830
cmp eax, 0x28f407ca
jne 0x1000106d
mov eax, 0x9644ccf0
jmp 0x1000106d
cmp eax, 0xa7a15821
jg 0x100013ba
cmp eax, 0x9c091346
jg 0x10001558
cmp eax, 0x9644ccf0
je 0x1000185f
cmp eax, 0x9aacdc53
jne 0x1000106d
mov eax, 0x874e36ea
jmp 0x1000106d
cmp eax, 0x67526d0c
jg 0x100013f8
cmp eax, 0x618595bd
jg 0x1000158b
cmp eax, 0x5f7cdb70
je 0x1000187c
cmp eax, 0x614baed0
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x874e36ea
mov ecx, 0x7009f247
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x874e36ea
cmovle eax, ecx
jmp 0x1000106d
cmp eax, 0xe9f1c57e
jg 0x10001436
cmp eax, 0xd3d4d04e
jg 0x100015be
cmp eax, 0xcdf1f7b1
je 0x10001899
cmp eax, 0xcea8f7d7
jne 0x1000106d
movzx ecx, byte [ebp - 0x11]
cmp byte [ebp - 0x12], 0
mov eax, 0x395d22d9
mov edx, 0xb83fc8d
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x1000106d
cmp eax, 0x1748baff
jle 0x10001461
cmp eax, 0x1a7f373c
jg 0x1000160d
cmp eax, 0x1748bb00
je 0x100018b6
cmp eax, 0x195f5d7b
jne 0x1000106d
mov eax, 0x744cebe8
jmp 0x1000106d
cmp eax, 0x92c1ae32
jg 0x10001652
cmp eax, 0x8b7b1418
je 0x100018c0
cmp eax, 0x91c5265f
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9c091347
mov ecx, 0x2548cd55
jmp 0x10001060
cmp eax, 0x539de9a3
jg 0x10001672
cmp eax, 0x4ce70c81
je 0x100018ef
cmp eax, 0x527d660e
jne 0x1000106d
mov eax, 0xc904bfbf
jmp 0x1000106d
cmp eax, 0xc8b66a97
jg 0x100016c1
cmp eax, 0xc216761f
je 0x1000190c
cmp eax, 0xc81f8bf8
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x618595be
mov ecx, 0x139201f1
jmp 0x10001060
cmp eax, 0x35f13c3a
jg 0x10001706
cmp eax, 0x3095dfaf
je 0x10001945
cmp eax, 0x31024ea0
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x30600a0d
mov ecx, 0x77f119c4
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x30600a0d
cmovle eax, ecx
jmp 0x1000106d
cmp eax, 0xb506edb1
jg 0x10001726
cmp eax, 0xa7a15822
je 0x10001962
cmp eax, 0xb0276428
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x85c6b292
mov ecx, 0x85505fa3
jmp 0x10001060
cmp eax, 0x744cebe7
jg 0x10001746
cmp eax, 0x67526d0d
je 0x1000199b
cmp eax, 0x7009f247
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x539de9a4
mov ecx, 0x5adcc0b3
jmp 0x10001060
cmp eax, 0xeddd2ca0
jg 0x100017a4
cmp eax, 0xe9f1c57f
je 0x100019b8
cmp eax, 0xeb75a59c
jne 0x1000106d
mov eax, 0x2021cd02
jmp 0x1000106d
cmp eax, 0x139201f0
jg 0x100017d7
cmp eax, 0xf7e2b124
je 0x100019d5
cmp eax, 0xb83fc8d
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x395d22d9
mov ecx, 0x91c5265f
jmp 0x10001060
cmp eax, 0x85f3cb87
je 0x10001a04
cmp eax, 0x874e36ea
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xeddd2ca1
mov ecx, 0xa7a15822
jmp 0x10001060
cmp eax, 0x4a168f80
je 0x10001a0e
cmp eax, 0x4b5dd8de
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x29ee5aa8
mov ecx, 0x9644ccf0
jmp 0x10001060
cmp eax, 0xbf57e6c8
je 0x10001045
cmp eax, 0xc1f82044
jne 0x1000106d
mov eax, 0x67526d0d
jmp 0x1000106d
cmp eax, 0x29ee5aa8
je 0x10001a2b
cmp eax, 0x30600a0d
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb93c9359
mov ecx, 0x3095dfaf
jmp 0x10001060
cmp eax, 0x9c091347
je 0x10001a48
cmp eax, 0xa1461f9e
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x527d660e
mov ecx, 0xc904bfbf
jmp 0x10001060
cmp eax, 0x618595be
je 0x10001a77
cmp eax, 0x657a20e9
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4677eb62
mov ecx, 0x85f3cb87
jmp 0x10001060
cmp eax, 0xd3d4d04f
je 0x10001a81
cmp eax, 0xe7c28c56
jne 0x1000106d
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbdba03c0
mov ecx, 0x1a7f373d
jmp 0x10001060
cmp eax, 0x1a7f373d
je 0x10001ab0
cmp eax, 0x2021cd02
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf7e2b124
mov ecx, 0xeb75a59c
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0xf7e2b124
cmovle eax, ecx
jmp 0x1000106d
cmp eax, 0x92c1ae33
je 0x10001acd
cmp eax, 0x935a38be
jne 0x1000106d
mov eax, 0x2548cd55
jmp 0x1000106d
cmp eax, 0x539de9a4
je 0x10001ad7
cmp eax, 0x5adcc0b3
jne 0x1000106d
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x539de9a4
mov ecx, 0x9aacdc53
jmp 0x10001060
cmp eax, 0xc8b66a98
je 0x10001afd
cmp eax, 0xc904bfbf
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x46250ea8
mov ecx, 0x527d660e
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x46250ea8
cmovle eax, ecx
jmp 0x1000106d
cmp eax, 0x35f13c3b
je 0x10001b1a
cmp eax, 0x395d22d9
jne 0x1000106d
mov eax, 0xb83fc8d
jmp 0x1000106d
cmp eax, 0xb506edb2
je 0x10001b49
cmp eax, 0xb93c9359
jne 0x1000106d
mov eax, 0x3095dfaf
jmp 0x1000106d
cmp eax, 0x744cebe8
je 0x10001b6f
cmp eax, 0x77f119c4
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x100bcbd4], 0xa
setl cl
mov edx, ecx
and dl, al
xor cl, al
mov eax, edx
xor al, cl
mov edi, 0x1748bb00
mov eax, 0xd3d4d04f
cmovne edi, eax
test cl, cl
mov eax, edi
mov ecx, 0xd3d4d04f
cmovne eax, ecx
test dl, dl
cmove eax, edi
jmp 0x1000106d
cmp eax, 0xeddd2ca1
je 0x10001b8c
cmp eax, 0xf0521ef7
jne 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x618595be
mov ecx, 0xc81f8bf8
jmp 0x10001060
cmp eax, 0x147924c1
jne 0x10001bb2
mov eax, 0xc8b66a98
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9c091347
mov ecx, 0x4ce70c81
jmp 0x10001060
mov eax, 0x8b7b1418
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbf57e6c8
mov ecx, 0x5f7cdb70
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb0276428
mov ecx, 0x85c6b292
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0xb0276428
cmovle eax, ecx
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbdba03c0
mov ecx, 0xe7c28c56
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xeb75a59c
mov ecx, 0x2021cd02
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x77f119c4
mov ecx, 0x8b7b1418
jmp 0x10001060
mov eax, 0xd3d4d04f
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x35f13c3b
mov ecx, 0x92c1ae33
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x35f13c3b
cmovle eax, ecx
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x147924c1
mov ecx, 0xc8b66a98
jmp 0x10001060
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb506edb2
mov ecx, 0x28f407ca
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb93c9359
mov ecx, 0xbce6c0be
jmp 0x10001060
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xeddd2ca1
mov ecx, 0x4a168f80
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc1f82044
mov ecx, 0x31024ea0
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc1f82044
mov ecx, 0x67526d0d
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf0521ef7
mov ecx, 0xbf57e6c8
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0xf0521ef7
cmovle eax, ecx
jmp 0x1000106d
mov eax, 0x5f7cdb70
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7009f247
mov ecx, 0xa1461f9e
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb506edb2
mov ecx, 0xc216761f
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x744cebe8
mov ecx, 0x195f5d7b
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x744cebe8
cmovle eax, ecx
jmp 0x1000106d
mov eax, 0xc81f8bf8
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x614baed0
mov ecx, 0x1748bb00
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x614baed0
cmovle eax, ecx
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x29ee5aa8
mov ecx, 0xe9f1c57f
jmp 0x10001060
mov eax, 0x35f13c3b
jmp 0x1000106d
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, 0x5adcc0b3
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x147924c1
mov ecx, 0xcdf1f7b1
jmp 0x10001060
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4b5dd8de
mov ecx, 0x92c1ae33
cmovne eax, ecx
cmp dword [0x100bcbd4], 9
mov ecx, 0x4b5dd8de
cmovle eax, ecx
jmp 0x1000106d
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, 0xc216761f
jmp 0x1000106d
mov eax, dword [0x100bcbd0]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x195f5d7b
mov ecx, 0x935a38be
jmp 0x10001060
push eax
mov edi, esp
push 0xfffffffffffffff5
call ebx
movzx ecx, word [ebp + 8]
mov word [edi], cx
movzx ecx, word [ebp + 0xc]
mov word [edi + 2], cx
mov ecx, dword [edi]
push ecx
push eax
call esi
mov eax, 0xa7a15822
jmp 0x1000106d
cmp eax, 0x139201f1
jne 0x1000106d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009dfd8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret