Function at 0x140047200
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x98
mov byte [rsp + 0x20], 0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140047239
xor al, al
jmp 0x140047494
xor r9d, r9d
mov r8d, 0x100000
mov rdx, qword [rsp + 0x78]
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jge 0x14004727d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x140047494
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], 0
jmp 0x1400472af
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jae 0x14004747c
lea rax, str.Hyhd
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140047427
cmp qword [rsp + 0x58], 0
je 0x140047427
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x41
jl 0x140047318
cmp dword [rsp + 0x28], 0x5a
jg 0x140047318
mov eax, dword [rsp + 0x28]
add eax, 0x20
mov dword [rsp + 0x6c], eax
jmp 0x140047320
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x41
jl 0x140047347
cmp dword [rsp + 0x30], 0x5a
jg 0x140047347
mov eax, dword [rsp + 0x30]
add eax, 0x20
mov dword [rsp + 0x68], eax
jmp 0x14004734f
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x6c], eax
jne 0x1400473b7
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
test eax, eax
jne 0x14004737e
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
test eax, eax
jne 0x14004737e
mov dword [rsp + 0x4c], 0
jmp 0x14004742f
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
test eax, eax
je 0x140047396
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
test eax, eax
jne 0x140047398
jmp 0x1400473b7
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1400472f1
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x41
jl 0x1400473de
cmp dword [rsp + 0x38], 0x5a
jg 0x1400473de
mov eax, dword [rsp + 0x38]
add eax, 0x20
mov dword [rsp + 0x74], eax
jmp 0x1400473e6
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x41
jl 0x14004740d
cmp dword [rsp + 0x40], 0x5a
jg 0x14004740d
mov eax, dword [rsp + 0x40]
add eax, 0x20
mov dword [rsp + 0x70], eax
jmp 0x140047415
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x14004742f
mov dword [rsp + 0x4c], 0xffffffff
cmp dword [rsp + 0x4c], 0
jne 0x140047469
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x14004744c
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x18], 0
je 0x140047469
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x20], 0xa
ja 0x140047464
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0xa
jbe 0x140047469
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x60], rax
jmp 0x1400472a5
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
movzx eax, byte [rsp + 0x20]
add rsp, 0x98
ret