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

Disassembly:
push rbp
sub rsp, 0x820
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x7b0], rcx
mov dword [rbp + 0x7b8], edx
mov qword [rbp + 0x7c0], r8
mov dword [rbp + 0x7c8], r9d
mov qword [rbp + 0x788], 0
mov qword [rbp + 0x780], 0
mov qword [rbp + 0x790], 0
mov byte [rbp + 0x530], 0
lea rax, [rbp + 0x320]
lea rdx, [0x2eda40420]
mov rcx, rax
call sub.msvcrt.dll_wcscpy
mov dword [rbp + 0x79c], 0
lea rax, [rbp + 0x140]
mov rdx, rax
mov ecx, 0x101
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
jne 0x2eda3375e
lea rax, [rbp + 0xf0]
mov edx, 0x50
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_gethostname]
call rax
cmp eax, 0xffffffff
je 0x2eda33755
lea rax, [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_gethostbyname]
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x2eda33755
mov dword [rbp + 0x774], 0
nop
mov rax, qword [rbp + 0x778]
mov rdx, qword [rax + 0x18]
mov eax, dword [rbp + 0x774]
cdqe
shl rax, 3
add rax, rdx
mov rax, qword [rax]
test rax, rax
je 0x2eda33755
mov rax, qword [rbp + 0x778]
mov rdx, qword [rax + 0x18]
mov eax, dword [rbp + 0x774]
cdqe
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x34]
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_inet_ntoa]
call rax
mov rdx, rax
lea rax, [rbp + 0x530]
mov rcx, rax
call sub.msvcrt.dll_strcpy
nop
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
lea rcx, [0x2eda40428]
call fcn.2eda37e7e
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, [rbp + 0xe8]
mov qword [rsp + 0x20], rdx
mov r9d, 0x108
mov r8d, 0
mov rdx, rax
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call rax
test eax, eax
jne 0x2eda33922
lea rcx, [0x2eda40490]
call fcn.2eda37e7e
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x798], 0
jmp 0x2eda3389d
mov rax, qword [rbp + 0xe8]
lea rdx, [rbp + 0x550]
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call rax
test eax, eax
jne 0x2eda33896
mov dword [rbp + 0xd8], 0x104
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0x780]
lea rcx, [rbp + 0xd8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x320]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call rax
test eax, eax
jne 0x2eda33883
lea rax, [rbp + 0x320]
mov edx, dword [rbp + 0xd8]
mov edx, edx
add rax, rdx
mov byte [rax], 0
lea rax, [rbp + 0x320]
mov edx, dword [rbp + 0xd8]
mov edx, edx
add rax, rdx
add rax, 1
mov byte [rax], 0
jmp 0x2eda33900
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
add dword [rbp + 0x798], 1
mov dword [rbp + 0xdc], 0x104
mov rax, qword [rbp + 0xe8]
lea r8, [rbp + 0xdc]
lea rcx, [rbp + 0x550]
mov edx, dword [rbp + 0x798]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
call rax
test eax, eax
je 0x2eda337cd
mov rax, qword [rbp + 0x780]
mov rcx, rax
call fcn.2eda37f8e
mov rax, qword [rbp + 0xe8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov rax, qword [rbp + 0x788]
mov rcx, rax
call fcn.2eda37f8e
mov dword [rbp + 0x2e0], 0x40
lea rax, [rbp + 0x2e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
test eax, eax
je 0x2eda33963
mov rax, qword [rbp + 0x2e8]
shr rax, 0x14
mov dword [rbp + 0x79c], eax
lea rax, [rbp + 0x320]
mov rcx, rax
call fcn.2eda32e42
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x2eda33bc0
mov ecx, 0x800
call fcn.2eda36950
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x2eda33bb1
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 4]
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax]
mov dword [rdx], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 8]
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 4]
mov dword [rdx], eax
mov rax, qword [rbp + 0x760]
add rax, 0xc
mov dword [rax], 2
mov rax, qword [rbp + 0x760]
add rax, 0x10
mov dword [rax], 1
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x14]
mov eax, dword [rbp + 0x7b8]
mov dword [rdx], eax
mov dword [rbp + 0x75c], 0x2c
lea rax, [rbp + 0x530]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov r8d, eax
mov edx, dword [rbp + 0x75c]
mov rax, qword [rbp + 0x760]
lea rcx, [rdx + rax]
lea rax, [rbp + 0x530]
mov rdx, rax
call fcn.2eda3152c
mov dword [rbp + 0x758], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x18]
mov eax, dword [rbp + 0x75c]
mov dword [rdx], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x1c]
mov eax, dword [rbp + 0x758]
mov dword [rdx], eax
mov eax, dword [rbp + 0x758]
add eax, 3
and eax, 0xfffffffc
add dword [rbp + 0x75c], eax
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov r8d, eax
mov edx, dword [rbp + 0x75c]
mov rax, qword [rbp + 0x760]
lea rcx, [rdx + rax]
mov rax, qword [rbp + 0x768]
mov rdx, rax
call fcn.2eda3152c
mov dword [rbp + 0x758], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x20]
mov eax, dword [rbp + 0x75c]
mov dword [rdx], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x24]
mov eax, dword [rbp + 0x758]
mov dword [rdx], eax
mov rax, qword [rbp + 0x760]
lea rdx, [rax + 0x28]
mov eax, dword [rbp + 0x79c]
mov dword [rdx], eax
mov eax, dword [rbp + 0x758]
add eax, 3
and eax, 0xfffffffc
mov edx, eax
mov eax, dword [rbp + 0x75c]
add eax, edx
mov dword [rbp + 0xd8], eax
mov eax, dword [rbp + 0xd8]
lea edx, [rax - 4]
mov rax, qword [rbp + 0x760]
add rax, 4
mov r8d, 0
mov rcx, rax
call fcn.2eda325a0
mov rdx, qword [rbp + 0x760]
mov dword [rdx], eax
cmp dword [rbp + 0x7c8], 0
je 0x2eda33b94
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov rcx, rax
mov rdx, qword [rbp + 0x7c0]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call fcn.2eda36f18
mov eax, dword [rbp + 0xd8]
mov r8d, eax
mov rcx, qword [rbp + 0x760]
mov rdx, qword [rbp + 0x760]
lea rax, [rbp - 0x30]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.2eda36fe7
mov rax, qword [rbp + 0x760]
mov qword [rbp + 0x790], rax
mov edx, dword [rbp + 0xd8]
mov rax, qword [rbp + 0x7d0]
mov dword [rax], edx
mov rax, qword [rbp + 0x768]
mov rcx, rax
call fcn.2eda369bb
mov rax, qword [rbp + 0x790]
add rsp, 0x820
pop rbp
ret