Function at 0x140005e7c
Capabilities:
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], r14
push rbp
lea rbp, [rax - 0x258]
sub rsp, 0x350
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x240], rax
and dword [rsp + 0x50], 0
xor edi, edi
and dword [rsp + 0x54], 0
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 0x74]
lea r14d, [rdi + 1]
mov dword [0x14003ac20], eax
lea r9, [rsp + 0x54]
mov eax, 0x10000
mov dword [0x14003ac24], 0x3c
lea r8, [rsp + 0x50]
mov dword [0x14003ac2c], eax
mov dword [0x14003ac34], eax
mov dword [0x14003ac3c], eax
mov dword [0x14003ac28], r14d
mov dword [0x14003ac30], r14d
mov dword [0x14003ac38], r14d
mov dword [0x14003ac40], r14d
call fcn.140006138
mov ebx, eax
test eax, eax
js 0x1400060e2
cmp eax, r14d
je 0x1400060e0
cmp dword [rsp + 0x50], esi
je 0x140005f5b
xor edx, edx
xor ecx, ecx
call fcn.140006260
mov ebx, eax
jmp 0x1400060e2
cmp dword [rsp + 0x54], esi
je 0x140006098
xor edx, edx
lea rcx, [rbp - 0x3c]
lea r8d, [rdx + 0x64]
call fcn.140016ec0
mov r8d, 0x104
mov dword [rbp - 0x40], 0x68
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r14d, 0x80070000
test eax, eax
jne 0x140005fb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400060e2
lea r8, [rsp + 0x60]
call fcn.1400129c0
mov rdi, qword [rsp + 0x60]
mov ebx, eax
test eax, eax
js 0x1400060e2
xor r8d, r8d
lea rcx, [rbp + 0x30]
mov rdx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140005ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400060e2
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r8, rdi
lea rdx, str.__s___standalone
lea rcx, [rsp + 0x58]
call fcn.140011c6c
mov ebx, eax
test eax, eax
js 0x140006091
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x40]
xor ecx, ecx
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], rsi
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x58]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140006079
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400060e2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400060e2
mov rsi, qword [rsp + 0x58]
jmp 0x1400060e2
and qword [rsp + 0x78], rsi
lea rax, str.ose64
and qword [rbp - 0x80], rsi
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rax, [0x14000f9a0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400060e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400060e2
xor ebx, ebx
cmp dword [0x14003ac1c], 0
je 0x1400060f0
call fcn.14001465c
test rsi, rsi
je 0x1400060fd
mov rcx, rsi
call fcn.14001519c
test rdi, rdi
je 0x14000610a
mov rcx, rdi
call fcn.14001519c
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140015800
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret