Function at 0x401200
Capabilities:
Get geographical location
Get hostname
Get memory capacity

Disassembly:
sub esp, 0x300
push ebx
push ebp
mov ebp, dword [esp + 0x30c]
push esi
push edi
push 0x40
push ebp
push 2
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 0x28]
lea ecx, [ebp + 0x40]
push eax
push ecx
mov dword [esp + 0x30], 0x40
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [0x40fb74]
test eax, eax
jne 0x4012b8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0x40e5d8
push eax
mov dword [esp + 0x30], 0xc8
call dword [0x40fb78]
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x40fb7c]
lea edx, [esp + 0x48]
push str.2000
push edx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4012e8
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_2000
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e5bc
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4013c6
lea edx, [esp + 0x48]
push str.2016
push edx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x40134a
mov edi, str.Windows_2016
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xc0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x40e074], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push str.2012
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x401392
mov edi, str.Windows_2012
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xc0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x40e074], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push 0x40e588
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x40152f
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_RT
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e5bc
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4013f2
mov dword [0x40e074], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_XP
jmp 0x401512
lea ecx, [esp + 0x48]
push str.2003
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x401422
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_2003
jmp 0x401512
lea ecx, [esp + 0x48]
push str.Vista
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x40144e
mov dword [0x40e074], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_Vista
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e538
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x40147e
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, 0x40e528
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e524
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4014a7
mov dword [0x40e074], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_7
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e514
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4014d4
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_8
jmp 0x401512
lea ecx, [esp + 0x48]
push 0x40e504
push ecx
call fcn.00405c20
add esp, 8
test eax, eax
je 0x4014fd
mov dword [0x40e074], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_8.1
jmp 0x401512
mov dword [0x40e074], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_10
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x108]
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x108]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [0x40fb74]
test eax, eax
jne 0x4015ba
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push str.MHz
push ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x30], 0xc8
call dword [0x40fb78]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x40fb7c]
mov eax, dword [esp + 0x24]
lea ecx, [ebp + 0x120]
push eax
push str._u_MHz
push ecx
call dword [0x40fb98]
add esp, 0xc
lea edx, [esp + 0xc8]
mov dword [esp + 0xc8], 0x40
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
xor eax, eax
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x2c], 0x40e4a8
test ebx, ebx
mov dword [esp + 0x30], 0x40e4a4
mov dword [esp + 0x34], 0x40e4a0
mov dword [esp + 0x38], 0x40e49c
mov dword [esp + 0x3c], 0x40e498
mov dword [esp + 0x40], 0x40e494
mov dword [esp + 0x44], str.ZBUB
ja 0x401651
mov edx, esi
cmp edx, 0x400
jb 0x401696
jmp 0x401651
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
ja 0x401696
jb 0x40165c
cmp eax, 7
jae 0x401696
mov edi, esi
mov edx, ebx
and edi, 0x3ff
add eax, 1
adc ecx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, 0xa
mov eax, esi
call fcn.00405ca0
mov ebx, edx
mov esi, eax
test ebx, ebx
ja 0x401649
jb 0x401692
cmp esi, 0x400
jae 0x401649
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x2c]
mov ecx, 0xa
push eax
mov eax, edi
xor edx, edx
call fcn.00405ca0
add eax, esi
lea ecx, [ebp + 0x100]
adc edx, ebx
add eax, 1
adc edx, 0
push edx
push eax
push str._I64d_s
push ecx
call fcn.00405bc4
mov edi, dword [esp + 0x32c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x140]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x300
ret