Function at 0x18004fc90
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a08]
mov eax, 0x1b08
call fcn.18007fc70
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x19f0], rax
mov ebx, r9d
mov r13, r8
mov r12, rdx
mov r14, rcx
xor edi, edi
mov rax, qword [0x1800d6f10]
test rax, rax
jne 0x18004fd0e
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18004fd04
mov rcx, rax
call fcn.180015880
jmp 0x18004fd07
mov rax, rdi
mov qword [0x1800d6f10], rax
mov rcx, rax
call fcn.180016a50
mov esi, 1
lea r15, [0x1800a8438]
test eax, eax
je 0x18004fe3c
mov eax, dword [0x1800d331c]
test eax, eax
je 0x18004fe3c
cmp eax, esi
je 0x18004fd60
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x18004fd55
mov dword [0x1800d331c], esi
jmp 0x18004fd60
mov dword [0x1800d331c], edi
jmp 0x18004fe3c
lea rdx, str..bak
mov rcx, r12
call fcn.18002f130
test rax, rax
jne 0x18004fd88
lea rdx, str..tmp
mov rcx, r12
call fcn.18002f130
test rax, rax
je 0x18004fdd8
lea rcx, [rbp - 0x80]
call fcn.180033230
nop
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.180033e40
mov r11, rdi
movzx eax, byte [r11 + r15]
cmp byte [rbp + r11 - 0x58], al
jne 0x18004fdb8
inc r11
cmp r11, 9
jl 0x18004fda1
jmp 0x18004fdcf
mov eax, dword [0x1800d7094]
cmp dword [r14 + 0x11f4], 0
cmovne eax, esi
mov dword [0x1800d7094], eax
lea rcx, [rbp - 0x80]
call fcn.1800332f0
lea rdx, str..dwg
mov rcx, r13
call fcn.18002f130
test rax, rax
jne 0x18004fe00
lea rdx, str..dxf
mov rcx, r13
call fcn.18002f130
test rax, rax
je 0x18004fe3c
cmp dword [0x1800d7094], 0
je 0x18004fe3c
lea rcx, [rbp + 0x1d0]
call fcn.18003aba0
nop
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0x1d0]
call fcn.18003b9b0
mov dword [0x1800d7094], edi
mov r8d, ebx
mov rdx, r13
mov rcx, r12
call qword [0x1800d96c8]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x18004fe5e
xor eax, eax
jmp 0x18005031b
mov ebx, dword [0x1800d331c]
test ebx, ebx
je 0x180050030
cmp ebx, 1
je 0x18004fe97
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x18004fe8a
mov dword [0x1800d331c], esi
jmp 0x18004fe97
mov ebx, edi
mov dword [0x1800d331c], ebx
jmp 0x180050030
mov rax, qword [0x1800d6f10]
test rax, rax
jne 0x18004fecb
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18004fec1
mov rcx, rax
call fcn.180015880
jmp 0x18004fec4
mov rax, rdi
mov qword [0x1800d6f10], rax
mov rcx, rax
call fcn.180018230
test eax, eax
jne 0x18004fee8
call fcn.180001150
mov rcx, rax
call fcn.1800181a0
test eax, eax
je 0x18004ff4d
lea rcx, [rbp - 0x80]
call fcn.180033230
nop
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.180033e40
mov r11, rdi
movzx eax, byte [r11 + r15]
cmp byte [rbp + r11 - 0x58], al
jne 0x18004ff44
inc r11
cmp r11, 9
jl 0x18004ff01
lea rcx, [rbp + 0x1d0]
call fcn.18003aba0
nop
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x1d0]
call fcn.18003ad80
nop
lea rcx, [rbp - 0x80]
call fcn.1800332f0
mov ebx, dword [0x1800d331c]
test ebx, ebx
je 0x180050030
cmp ebx, 1
je 0x18004ff7d
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x18004fe8a
mov ebx, esi
mov dword [0x1800d331c], ebx
mov rsi, qword [0x1800d6f10]
test rsi, rsi
jne 0x18004ffba
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18004ffaa
mov rcx, rax
call fcn.180015880
mov rsi, rax
jmp 0x18004ffad
mov rsi, rdi
mov qword [0x1800d6f10], rsi
mov ebx, dword [0x1800d331c]
mov rcx, rsi
call fcn.180016ae0
test eax, eax
je 0x180050037
lea rcx, [rbp - 0x80]
call fcn.180033230
nop
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.180033e40
nop dword [rax]
movzx eax, byte [rdi + r15]
cmp byte [rbp + rdi - 0x58], al
jne 0x180050022
inc rdi
cmp rdi, 9
jl 0x18004ffe0
lea rcx, [rbp + 0x1d0]
call fcn.18003aba0
nop
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x1d0]
call fcn.18003ad80
nop
lea rcx, [rbp - 0x80]
call fcn.1800332f0
jmp 0x180050316
mov rsi, qword [0x1800d6f10]
test rsi, rsi
jne 0x18005006d
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18005005d
mov rcx, rax
call fcn.180015880
mov rsi, rax
jmp 0x180050060
mov rsi, rdi
mov qword [0x1800d6f10], rsi
mov ebx, dword [0x1800d331c]
mov rcx, rsi
call fcn.1800181a0
test eax, eax
jne 0x1800500bf
test rsi, rsi
jne 0x1800500af
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18005009f
mov rcx, rax
call fcn.180015880
mov rsi, rax
jmp 0x1800500a2
mov rsi, rdi
mov qword [0x1800d6f10], rsi
mov ebx, dword [0x1800d331c]
mov rcx, rsi
call fcn.180016ca0
test eax, eax
je 0x1800501ad
test ebx, ebx
je 0x180050245
cmp ebx, 1
je 0x1800500eb
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x1800501d7
mov dword [0x1800d331c], 1
lea rdx, str..txt
mov rcx, r13
call fcn.18002f130
test rax, rax
je 0x1800501a7
cmp qword [r14 + 0x898], 0
je 0x180050316
mov byte [rbp + 0x1d0], 0
xor edx, edx
mov r8d, 0x7ff
lea rcx, [rbp + 0x1d1]
call fcn.18007e840
mov r9, r12
lea r8, [0x1800ad0dc]
mov edx, 0x800
lea rcx, [rbp + 0x9f0]
call fcn.18007b670
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x800
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbp + 0x9f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbp + 0x1d0]
call fcn.180080760
mov r9d, 0x3000
lea r8, [0x1800ae630]
lea rdx, [0x1800ae640]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180050316
mov ebx, dword [0x1800d331c]
test ebx, ebx
je 0x180050245
cmp ebx, 1
je 0x1800501df
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x1800501d7
mov dword [0x1800d331c], 1
jmp 0x1800501df
mov dword [0x1800d331c], edi
jmp 0x180050245
lea rcx, [rbp - 0x80]
call fcn.180033230
nop
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.180033e40
movzx eax, byte [rdi + r15]
cmp byte [rbp + rdi - 0x58], al
jne 0x180050237
inc rdi
cmp rdi, 9
jl 0x1800501f5
lea rcx, [rbp + 0x1d0]
call fcn.18003aba0
nop
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x1d0]
call fcn.18003ad80
nop
lea rcx, [rbp - 0x80]
call fcn.1800332f0
jmp 0x180050316
mov rdx, r13
mov rcx, r14
call fcn.1800388c0
test eax, eax
je 0x180050316
lea rax, vtable.CEnc.0
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x9e0], edi
xor eax, eax
mov qword [rbp + 0x1d8], rax
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rax
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x210], rax
mov dword [rbp + 0x9d8], edi
mov dword [rbp + 0x9e8], edi
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rsp + 0x78]
shl r11d, 5
mov dword [rbp + 0x9ec], r11d
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x40]
call fcn.180013330
mov r11d, dword [rsp + 0x40]
mov dword [rbp + 0x9e0], r11d
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x1d0]
call fcn.18003ad80
nop
mov eax, 1
mov rcx, qword [rbp + 0x19f0]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x1b08
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret