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

Disassembly:
sub esp, 0x2e0
push ebx
push ebp
mov ebp, dword [esp + 0x2ec]
push esi
push edi
push 0x40
push ebp
push 2
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 0x24]
lea ecx, [ebp + 0x40]
push eax
push ecx
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1ec]
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 + 0x1ec]
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 + 0x18]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [0x41968c]
test eax, eax
jne 0x4052c8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x68]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0x41617c
push eax
mov dword [esp + 0x28], 0xc8
call dword [0x41967c]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x419690]
lea edx, [esp + 0x68]
push str.2000
push edx
call fcn.0040ae40
add esp, 8
test eax, eax
je 0x4052f8
mov dword [0x416098], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_2000
jmp 0x4053d6
lea ecx, [esp + 0x68]
push 0x416160
push ecx
call fcn.0040ae40
add esp, 8
test eax, eax
je 0x405324
mov dword [0x416098], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_XP
jmp 0x4053d6
lea ecx, [esp + 0x68]
push str.2003
push ecx
call fcn.0040ae40
add esp, 8
test eax, eax
je 0x405354
mov dword [0x416098], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_2003
jmp 0x4053d6
lea ecx, [esp + 0x68]
push str.Vista
push ecx
call fcn.0040ae40
add esp, 8
test eax, eax
je 0x40537d
mov dword [0x416098], ebx
lea edx, [ebp + 0xc0]
mov edi, str.Windows_Vista
jmp 0x4053d6
lea ecx, [esp + 0x68]
push str.2008
push ecx
call fcn.0040ae40
add esp, 8
test eax, eax
je 0x4053aa
mov dword [0x416098], 1
lea edx, [ebp + 0xc0]
mov edi, str.Windows_2008
jmp 0x4053d6
lea ecx, [esp + 0x68]
push 0x416108
push ecx
call fcn.0040ae40
add esp, 8
mov dword [0x416098], ebx
test eax, eax
lea edx, [ebp + 0xc0]
mov edi, str.Windows_7
jne 0x4053d6
mov edi, str.Windows_NT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xe8], bl
mov eax, ecx
mov esi, edi
mov edi, edx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0xed]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xec]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0xe8]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [0x41968c]
test eax, eax
jne 0x40547d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push str.MHz
push ecx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], 0xc8
call dword [0x41967c]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x419690]
mov eax, dword [esp + 0x20]
mov esi, dword [0x4196a4]
push eax
lea ecx, [ebp + 0x120]
push str._u_MHz
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x40
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, 0x14
call fcn.0040bb10
add eax, 1
adc edx, ebx
push edx
push eax
lea eax, [ebp + 0x100]
push str._u_MB
push eax
call esi
mov edi, str.20101218
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
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, 0x2e0
ret