Function at 0x140020420
Capabilities:
Accept command line arguments
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x8b8]
sub rsp, 0x9a0
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rbp + 0x890], rax
call fcn.140018df4
lea rcx, [rbp - 0x68]
mov rbx, rax
call fcn.140028870
xor r12d, r12d
cmp qword [rbx], r12
jne 0x1400204a2
lea rcx, [rbx + 0x30]
mov dword [rbx + 0xc], 2
mov rdx, rax
mov qword [rbx + 0x28], r12
call fcn.14001939c
lea rax, [0x14001fd00]
lea rcx, [0x140018e5c]
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [rbx], rax
lea rcx, [rbp - 0x68]
call fcn.14000564c
call fcn.14001fe7c
movdqa xmm0, xmmword [0x1400dbdf0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov dword [rsp + 0x40], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, 1
mov r15, rax
mov edi, ebx
cmp dword [rsp + 0x40], ebx
jle 0x14002053b
lea esi, [rbx + 1]
lea r14, [rax + 8]
mov rcx, qword [r14]
lea rdx, str.__load
call fcn.14009a74c
test eax, eax
jne 0x140020510
cmp esi, dword [rsp + 0x40]
jl 0x14002064f
mov rcx, qword [r14]
lea rdx, str.__run
call fcn.14009a74c
test eax, eax
jne 0x14002052d
cmp esi, dword [rsp + 0x40]
jl 0x140020666
add edi, ebx
add esi, ebx
add r14, 8
cmp edi, dword [rsp + 0x40]
jl 0x1400204f3
mov ebx, r12d
lea r8, [rsp + 0x78]
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.140020a0c
xor edx, edx
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x30]
call fcn.14008e5d0
mov rax, qword gs:[0x30]
lea rcx, [rsp + 0x48]
lea r14, [0x1400d001c]
mov rdi, qword [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rax, qword gs:[0x58]
lea rsi, [0x1400d003c]
cmp word [rsp + 0x48], r12w
mov edx, 4
cmovne rsi, r14
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140100cc4], eax
jle 0x1400205f9
lea rcx, [0x140100cc4]
call fcn.14006fcf4
cmp dword [0x140100cc4], 0xffffffff
jne 0x1400205f9
xor eax, eax
lea rcx, [0x1400bb7b0]
mov qword [0x140100cc8], rax
or qword [0x140100cc8], 0xffffffffffffffff
mov qword [0x140100cd0], rax
mov dword [0x140100cd0], 0xc0000225
call fcn.1400700c4
lea rcx, [0x140100cc4]
call fcn.14006fc94
movzx ecx, word [rdi + 0x120]
mov eax, dword [0x140100cd0]
movzx r9d, byte [rdi + 0x123]
mov r8d, dword [rdi + 0x11c]
mov edx, dword [rdi + 0x118]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
lea rcx, str.Started_on_Windows__d._d._d._d__s._Driver_status:_0x_X
call fcn.140019f10
lea rcx, [rbp - 0x40]
cmp ebx, 2
je 0x140020682
xor edx, edx
mov r8d, 0x8d
call fcn.14001366c
mov rbx, rax
jmp 0x140020697
movsxd rdx, edi
lea rcx, [rsp + 0x78]
mov rdx, qword [r15 + rdx*8 + 8]
call fcn.1400056b0
jmp 0x14002053e
movsxd rdx, edi
lea rcx, [rsp + 0x78]
mov rdx, qword [r15 + rdx*8 + 8]
call fcn.1400056b0
mov ebx, 2
jmp 0x14002053e
lea rdx, [rbp + 0x50]
call fcn.14002391c
lea rcx, [rbp - 0x40]
call fcn.1400240c4
mov ebx, r12d
lea rcx, [rbp - 0x40]
call fcn.140020f08
lea rcx, [rsp + 0x78]
call fcn.14000564c
mov eax, ebx
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14006fa50
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret