Function at 0x4303a0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, ecx
push edi
call esi
cmp byte [ebx + 0x1319], 0
je 0x4303c9
mov eax, dword [ebx + 0x1320]
mov dword [ebp - 8], eax
test eax, eax
jns 0x4303d2
mov eax, dword [ebx + 0x132c]
mov dword [ebp - 8], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebx + 0x187c], eax
call edi
cmp eax, 0xffffffff
je 0x4303f8
mov dword [ebp - 4], 0x10000
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [ebx + 0x187c]
push 0x439470
call fcn.00401070
mov eax, dword [ebp - 8]
add esp, 8
cmp eax, 8
ja case.default.0x430417
jmp dword [eax*4 + 0x430614]
mov ecx, ebx
call fcn.00430640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
cmp byte [ebx + 0x1319], 0
je 0x430441
mov edi, dword [ebx + 0x1324]
test edi, edi
jns 0x430447
mov edi, dword [ebx + 0x1330]
mov eax, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebx + 0x1880], edi
call eax
cmp eax, 0xffffffff
je 0x43046d
mov dword [ebp - 8], 0x20000
push dword [ebp - 8]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
call eax
push dword [ebx + 0x1880]
push 0x439470
call fcn.00401070
add esp, 8
sub edi, 0
je 0x43048e
sub edi, 1
jne case.default.0x430417
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
cmp byte [ebx + 0x1319], 0
je 0x4304af
mov eax, dword [ebx + 0x1324]
mov dword [ebp - 4], eax
test eax, eax
jns 0x4304b8
mov eax, dword [ebx + 0x1330]
mov dword [ebp - 4], eax
push 0xfffffffffffffff5
mov dword [ebx + 0x1880], eax
call edi
cmp eax, 0xffffffff
je 0x4304d9
mov dword [ebp - 8], 0x20000
push dword [ebp - 8]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
call eax
push dword [ebx + 0x1880]
push 0x439470
call fcn.00401070
add esp, 8
cmp dword [ebp - 4], 0
jmp 0x430488
call esi
cmp byte [ebx + 0x1319], 0
je 0x43050a
mov eax, dword [ebx + 0x1324]
mov dword [ebp - 4], eax
test eax, eax
jns 0x430513
mov eax, dword [ebx + 0x1330]
mov dword [ebp - 4], eax
push 0xfffffffffffffff5
mov dword [ebx + 0x1880], eax
call edi
cmp eax, 0xffffffff
je 0x430534
mov dword [ebp - 8], 0x20000
push dword [ebp - 8]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
call eax
push dword [ebx + 0x1880]
push 0x439470
call fcn.00401070
add esp, 8
cmp dword [ebp - 4], 0
jne case.default.0x430417
call esi
and eax, 0x80000001
jns 0x43055f
dec eax
or eax, 0xfffffffe
inc eax
sub eax, 0
je 0x4305c5
sub eax, 1
jne case.default.0x430417
call esi
mov edi, eax
and edi, 0x80000007
jns 0x43057e
dec edi
or edi, 0xfffffff8
inc edi
add edi, 2
call esi
cdq
lea ecx, [edi + 1]
idiv ecx
push edi
mov esi, edx
lea eax, [ebx + 0x138a]
push esi
push str.In_Pascals_Triangle__the_nth_row_starts__1_n_...__and_ends__..._n_1__n_tThe__zeroth__element_of_each_row_is_the_initial__1___the_first__n_telement_is__n___and_so_on._n_tWhat_is_element__d_of_row__d_
push eax
call fcn.004011b0
imul eax, edi, 0x15
add eax, esi
push dword [eax*4 + 0x45e548]
lea eax, [ebx + 0x1772]
push 0x439450
push eax
call fcn.004011b0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
cdq
mov ecx, 0xa
idiv ecx
lea eax, [ebx + 0x138a]
lea esi, [edx + 1]
push esi
push str.What_is_the_sum_of_row__d_of_Pascals_triangle_
push eax
call fcn.004011b0
add esp, 0xc
mov eax, 1
test esi, esi
je 0x4305f8
lea eax, [eax + eax]
sub esi, 1
jne 0x4305f0
push eax
lea eax, [ebx + 0x1772]
push 0x439470
push eax
call fcn.004011b0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret