Function at 0x402aa0
Capabilities:
Connect to wmi namespace via wbemlocator
Get geographical location
Get hostname
Get session user name
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x450
push 0
push 0x46de08
mov dword [ebp - 8], 1
call fcn.00440480
add esp, 0xc
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
push 0
lea eax, [ebp - 8]
push eax
push str.ProductName
call fcn.004325f0
add esp, 0x10
test al, al
je 0x402c7e
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x402c7e
lea eax, [ebp - 0x18]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
push edi
lea eax, [ebp - 8]
push eax
push str.ProductName
call fcn.004325f0
add esp, 0x10
test al, al
je 0x402c7e
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x3c], eax
mov edx, str.Microsoft_Windows
mov esi, 0x20
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402b6b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402b50
mov esi, 0x12
jmp 0x402c15
mov ecx, edi
mov edx, str.Microsoft
mov esi, 0x22
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402b97
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402b77
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x402b97
mov esi, 0x13
jmp 0x402c15
mov ecx, edi
mov edx, str.Windows
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402bbb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402ba3
mov esi, 8
jmp 0x402c15
mov ecx, edi
mov edx, str.Server
mov esi, 0xa
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402be7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402bc7
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x402be7
mov esi, 7
jmp 0x402c15
mov ecx, edi
mov edx, str.Microsoft_Windows_Server
mov esi, 0x2e
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402c13
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402bf3
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x402c13
mov esi, 0x19
jmp 0x402c15
xor esi, esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
lea eax, [ebp - 8]
push eax
push str.CurrentBuild
call fcn.00432690
mov ebx, dword [ebp - 0x1c]
lea eax, [edi + esi*2]
push ebx
push eax
push 0x464780
push 0x104
push 0x46de08
call fcn.00401730
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x24
test ebx, ebx
je 0x402c70
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call esi
jmp 0x402c76
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call ebx
push eax
call esi
call fcn.00432d50
test eax, eax
je 0x402c8e
push str.64_bit
jmp 0x402c93
push str.32_bit
push 0x10
push 0x46e010
call fcn.004444c4
add esp, 0xc
mov dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x10]
push eax
push 0x46e0b0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x64
push 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x402ced
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x46e030
call esi
push dword [ebp - 0x20]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x80
push eax
push 0x46e0d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
push 0x40
push 0x46e150
push 2
push 0x400
mov dword [0x46e1d0], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push str.00000000_0000_0000_0000_000000000000
push 0x4642b8
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
test eax, eax
jne 0x402d56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x46e1d4]
mov edx, 1
cmp eax, edx
cmovne ecx, edx
mov dword [0x46e1d4], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x402e9b
push eax
push eax
push eax
push 3
push eax
push eax
push eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x402e9b
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x45e430
push 1
push 0
push 0x45e500
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402e9b
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x402e92
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x402e89
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
push edx
push 0
push 0x30
push str.SELECT__FROM_AntiVirusProduct
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push 0x46486c
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x402e89
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push 1
mov dword [ebp - 0xc], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x402e80
cmp dword [ebp - 0xc], 0
je 0x402e80
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x402e77
push dword [ebp - 0x30]
push 0x46e1d8
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret