Function at 0x2000161e
Capabilities:
Get system information on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov al, byte [esi + 1]
mov edi, ecx
add eax, 0xfffffff6
mov dword [esp + 0x10], 0
cmp eax, 7
ja case.default.0x200014b6
jmp dword [eax*4 + 0x20001738]
lea ebx, [esi + 2]
push 0x20019
push ebx
call fcn.2000e210
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x200014e0
push 0x3e8
jmp 0x20001708
mov cl, byte [esi + 1]
push ebx
cmp cl, 0xa
push eax
mov ecx, edi
jne 0x200014f6
call fcn.2000b010
jmp 0x2000170f
call fcn.20008570
jmp 0x2000170f
lea ebx, [esi + 2]
push ebx
call dword [sym.imp.IMM32.dll_ImmGetContext]
lea eax, [eax + esi + 3]
push eax
push ebx
call sym.drprov.dll_NPGetCaps
add esp, 4
push eax
call dword [0x2001a408]
jmp 0x20001707
mov ebp, dword [sym.imp.IMM32.dll_ImmGetContext]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
lea eax, [eax + ebx + 1]
push 0
push 0
push eax
push esi
call sym.drprov.dll_NPGetCaps
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
test eax, eax
jne 0x20001707
mov edx, dword [esp + 0x10]
push eax
push edx
push ebx
push esi
call sym.drprov.dll_NPGetCaps
add esp, 4
push eax
call dword [0x2001a404]
test eax, eax
jne 0x20001707
push ebx
push esi
call sym.drprov.dll_NPGetCaps
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
jmp 0x20001707
mov ebp, dword [sym.imp.IMM32.dll_ImmGetContext]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
lea ebp, [eax + ebx + 1]
push 0x20006
push esi
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], ecx
call fcn.2000e210
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 8
add ebp, 8
mov dword [esp + 0x10], eax
push edx
push ebp
push ecx
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
jmp 0x20001707
add esi, 2
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
dec eax
push es
add byte [edx], al
add byte [esi - 0x73], dl
pop esp
xor byte [ecx], al
call fcn.2000e210
add esp, 8
mov dword [esp + 0x10], eax
push ebx
push eax
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x20001707
mov ebp, dword [sym.imp.IMM32.dll_ImmGetContext]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
push 0x2001f
push esi
lea ebp, [eax + ebx + 1]
call fcn.2000e210
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x20001655
push 0x3e8
jmp 0x20001708
push 0x2000
mov dword [esp + 0x20], 0x2000
call fcn.200196d0
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x1c]
mov esi, eax
push edx
lea eax, [esp + 0x18]
push esi
push eax
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test eax, eax
jne 0x200016a6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push esi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
test eax, eax
je 0x200016bd
push 0x3e8
mov ecx, edi
call fcn.200125a0
push esi
call fcn.20019690
add esp, 4
jmp 0x2000170f
push esi
call fcn.20019690
mov edx, dword [esp + 0x14]
add esp, 4
push ebx
push edx
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x20001707
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
lea ebx, [esi + 2]
push 0
push 0
push ebx
call dword [sym.imp.IMM32.dll_ImmGetContext]
lea ecx, [eax + esi + 3]
push ecx
push ebx
call sym.drprov.dll_NPGetCaps
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push eax
mov ecx, edi
call fcn.200125a0
mov eax, dword [esp + 0x10]
test eax, eax
je case.default.0x200014b6
push eax
mov ecx, edi
call fcn.2000ffb0
test al, al
jne case.default.0x200014b6
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8