Function at 0x180003a00
Capabilities:
Get hostname
Get memory capacity
Initialize winsock library
Query or enumerate registry key
Query or enumerate registry value
Resolve dns

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x838
mov rax, qword [0x180021e40]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rdx, [0x180022811]
lea rcx, [rsp + 0x390]
call fcn.18000b680
lea rdx, [0x180022824]
lea rcx, [rsp + 0x400]
call fcn.18000b3e4
mov dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x1f0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180003b3d
mov edx, 0x50
lea rcx, [rsp + 0x3b0]
call qword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x180003b37
lea rcx, [rsp + 0x3b0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x180003b37
mov dword [rsp + 0x54], 0
jmp 0x180003ae2
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x18]
cmp qword [rcx + rax*8], 0
je 0x180003b37
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x18]
mov r8d, 4
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x68]
call fcn.180008990
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.18000b680
jmp 0x180003b37
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [0x180021900]
call fcn.180007160
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180003cad
lea rcx, [0x180021968]
call fcn.180007160
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x58], 0
jmp 0x180003ba9
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x6c], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x6c]
lea r8, [rsp + 0x610]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180003c95
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rsp + 0x610]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180003c90
mov dword [rsp + 0x4c], 0x104
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x400]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180003c82
mov eax, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x400], 0
mov eax, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x401], 0
jmp 0x180003c95
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180003b9f
mov rcx, qword [rsp + 0x78]
call fcn.180007260
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x88]
call fcn.180007260
mov dword [rsp + 0xa0], 0x40
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x180003ced
xor edx, edx
mov rax, qword [rsp + 0xa8]
mov ecx, 0x100000
div rcx
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x400]
call fcn.180005ca0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180003ecf
mov ecx, 0x800
call fcn.180005d60
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180003ec5
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x840]
mov ecx, dword [rcx]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x840]
mov ecx, dword [rcx + 4]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 2
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x10], 1
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x848]
mov dword [rax + 0x14], ecx
mov dword [rsp + 0x48], 0x2c
lea rcx, [rsp + 0x390]
call fcn.18000b750
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0x390]
call fcn.1800011e0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x1c], ecx
mov eax, dword [rsp + 0x50]
add eax, 3
and eax, 0xfffffffc
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x60]
call fcn.18000b750
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, qword [rsp + 0x60]
call fcn.1800011e0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0x28], ecx
mov eax, dword [rsp + 0x50]
add eax, 3
and eax, 0xfffffffc
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 4
mov rcx, qword [rsp + 0x40]
add rcx, 4
xor r8d, r8d
mov edx, eax
call fcn.180001f10
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
cmp dword [rsp + 0x858], 0
je 0x180003eaa
mov rcx, qword [rsp + 0x850]
call fcn.18000b750
mov r8, rax
mov rdx, qword [rsp + 0x850]
lea rcx, [rsp + 0xe0]
call fcn.180006370
mov eax, dword [rsp + 0x4c]
mov r9d, eax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.180006260
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x860]
mov ecx, dword [rsp + 0x4c]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x60]
call fcn.180005d90
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.180007a70
add rsp, 0x838
ret