Function at 0x1800338d0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0xcd8]
sub rsp, 0xdb0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0xca0], rax
mov rsi, rcx
mov byte [rbp + 0xc60], 0
xor eax, eax
mov qword [rbp + 0xc61], rax
mov qword [rbp + 0xc69], rax
mov qword [rbp + 0xc71], rax
mov dword [rbp + 0xc79], eax
mov word [rbp + 0xc7d], ax
mov byte [rbp + 0xc7f], al
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x40]
call fcn.180013330
movzx eax, word [rsi + 0x154]
cmp eax, dword [rsp + 0x40]
je 0x180033985
cmp qword [rsi + 0x18], 8
jb 0x180033968
mov rsi, qword [rsi]
mov r8, rsi
lea rdx, [0x1800ab8f8]
lea rcx, [0x1800d7100]
call fcn.180006a50
xor al, al
jmp 0x180033c4d
lea rax, vtable.CEnc.0
mov qword [rbp - 0x50], rax
mov dword [rbp + 0x7c0], r14d
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x7b8], r14d
mov dword [rbp + 0x7c8], r14d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.18003f2f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x78]
shl edx, 5
mov dword [rbp + 0x7cc], edx
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x40]
call fcn.180013330
mov edx, dword [rsp + 0x40]
mov dword [rbp + 0x7c0], edx
mov edx, dword [rsi + 0x4c]
lea rcx, [rbp - 0x50]
call fcn.18003f2f0
movzx edx, word [rsi + 0x154]
mov dword [rbp + 0x7c0], edx
test edx, edx
jne 0x180033ad2
lea rax, vtable.piy::CRijndaelEnc.0
mov qword [rsp + 0x40], rax
lea rax, vtable.piy::CRijndael.0
mov qword [rbp + 0x7d0], rax
mov byte [rbp + 0x7d8], dl
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x7d0]
call fcn.18006cb40
mov r12d, r14d
nop word [rax + rax]
mov byte [rbp + 0xc50], 0
xor eax, eax
mov qword [rbp + 0xc51], rax
mov dword [rbp + 0xc59], eax
mov word [rbp + 0xc5d], ax
mov byte [rbp + 0xc5f], al
mov eax, 0x20
sub eax, r12d
mov ebx, reloc.WS2_32.dll_recv
cmp eax, ebx
cmovle ebx, eax
movsxd rdi, r12d
movsxd r8, ebx
lea rdx, [rdi + rsi + 0x50]
lea rcx, [rbp + 0xc50]
call fcn.18007abc0
lea r8, [rbp + rdi + 0xc60]
lea rdx, [rbp + 0xc50]
lea rcx, [rbp + 0x7d0]
call fcn.18006dc60
add r12d, ebx
cmp r12d, 0x20
jl 0x180033a60
jmp 0x180033b10
cmp edx, 1
jne 0x180033b10
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x48]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rax, [rbp + 0xc60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea r9, [rsi + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.18006c9f0
mov byte [rbp + 0xc80], 0
xor eax, eax
mov qword [rbp + 0xc81], rax
mov qword [rbp + 0xc89], rax
mov qword [rbp + 0xc91], rax
mov dword [rbp + 0xc99], eax
mov word [rbp + 0xc9d], ax
mov byte [rbp + 0xc9f], al
lea rcx, [rbp - 0x80]
call fcn.1800112e0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x180033b57
mov rdi, qword [rax]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x180033bab
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xc80]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp qword [rbp - 0x68], 8
jb 0x180033bbb
mov rcx, qword [rbp - 0x80]
call fcn.18007a7a4
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xc60]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 0x18
je 0x180033bfb
cmp qword [rsi + 0x18], 8
jb 0x180033be0
mov rsi, qword [rsi]
mov r8, rsi
lea rdx, [0x1800ab920]
lea rcx, [0x1800d7100]
call fcn.180006b70
nop
xor al, al
jmp 0x180033c4d
lea rax, [rbp + 0xc60]
lea rdi, [rbp + 0xc80]
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x180033c22
inc rax
test ecx, ecx
jne 0x180033c10
test edx, edx
je 0x180033c4b
cmp qword [rsi + 0x18], 8
jb 0x180033c30
mov rsi, qword [rsi]
mov r8, rsi
lea rdx, [0x1800ab958]
lea rcx, [0x1800d7100]
call fcn.180006b70
nop
xor al, al
jmp 0x180033c4d
mov al, 1
mov rcx, qword [rbp + 0xca0]
xor rcx, rsp
call fcn.18007a7c0
lea r11, [rsp + 0xdb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret