Function at 0x40b610
Capabilities:
Check os version
Get geographical location
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
lea eax, [ebx + 0x1edc]
mov dword [ebp - 0x138], ebx
mov byte [eax], 0
lea ecx, [ebx + 0x1954]
push esi
push edi
mov dword [ebp - 0x130], eax
lea edi, [ebx + 0x19d4]
mov eax, dword [ebx + 0x1008]
mov byte [ebx + 0x2f88], 0
mov byte [ebx + 0x3008], 0
mov byte [ebx + 0x3088], 0
mov byte [ebx + 0x3108], 0
mov byte [ebx + 0x3654], 0
mov byte [ebx + 0x35d4], 0
mov byte [ebx + 0x3740], 0
mov byte [ebx + 0x37c0], 0
mov byte [ebx + 0x3840], 0
mov byte [ebx + 0x3188], 0
mov dword [ebx + 0x31b8], 0
mov byte [ebx + 0x31bc], 0
mov byte [ecx], 0
mov byte [ebx + 0x1994], 0
mov byte [edi], 0
mov byte [ebx + 0x1a54], 0
mov byte [ebx + 0x1bd4], 0
mov byte [ebx + 0x1c54], 0
mov byte [ebx + 0x1ad4], 0
mov byte [ebx + 0x1cd4], 0
mov byte [ebx + 0x1dd8], 0
mov dword [ebx + 0x1950], 0
mov dword [ebx + 0x3728], 0
mov dword [ebx + 0x372c], 0
mov dword [ebx + 0x3730], 0
test eax, eax
je 0x40b70e
mov eax, dword [eax + 4]
jmp 0x40b710
xor eax, eax
push 0xfffffffffffffffe
push str._08X
push ecx
mov dword [ebx + 0x3718], eax
mov dword [ebx + 0x371c], 0x1e
mov dword [ebx + 0x3720], 0
mov dword [ebx + 0x3734], 0
mov dword [ebx + 0x36d4], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebx + 0x1a54]
mov edx, edi
lea ecx, [ebx + 0x1994]
push eax
call fcn.00409f00
add esp, 4
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40b798
push 0x28
lea eax, [ebx + 0x1bd4]
push eax
push str.UIDSasId
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40b7ca
push 0x28
lea eax, [ebx + 0x1c54]
push eax
push str.UIDBizSrvID
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
jne 0x40b8c0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
je 0x40b7eb
cmp eax, 0x720
jne 0x40b825
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x40b825
push dword [ebp - 0x128]
push 0x437a24
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov al, byte [edi]
test al, al
jne 0x40b841
push str.0B627000_183A_11d8_B9D9_00104BE2AC39
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [ebx + 0x19d4]
test al, al
je 0x40b8c0
push 0x4000
call fcn.004157b9
add esp, 4
mov dword [ebp - 0x124], eax
test eax, eax
je 0x40b8c0
test edi, edi
je 0x40b8b5
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push str.HKLM
push str.__s_s__r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov esi, eax
add esi, dword [ebp - 0x124]
push str.UIDInstallId
push str.__s___s__r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
push str._r_n_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp - 0x124]
add esp, 0x28
sub esi, edx
lea ecx, [eax + 1]
add ecx, esi
call fcn.0040f740
mov eax, dword [ebp - 0x124]
push 1
push eax
call fcn.004157ab
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
and eax, 0x3ff
mov dword [ebx + 0x2974], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
shr eax, 0xa
push 0x78
mov dword [ebx + 0x2978], eax
lea eax, [ebp - 0x90]
push eax
push 5
push 0x800
mov byte [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x90]
push eax
call fcn.00421e90
add esp, 4
mov dword [ebx + 0x297c], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x104
push eax
lea eax, [ebx + 0x2d80]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
lea edi, [ebx + 0x2e84]
mov byte [edi], 0
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40b968
push 0x30
push edi
push str.UserPCDomain
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
jne 0x40ba41
lea eax, [ebp - 0x124]
mov dword [ebp - 0x134], 0x104
push eax
push 0x64
push 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x40b9b7
push eax
push eax
mov eax, dword [ebp - 0x124]
push 0x104
push edi
push 0xffffffffffffffff
push dword [eax + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x40b9c8
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp byte [edi], 0
je 0x40ba41
push 0x4000
call fcn.004157b9
add esp, 4
mov dword [ebp - 0x128], eax
test eax, eax
je 0x40ba41
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push str.HKLM
push str.__s_s__r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov esi, eax
add esi, dword [ebp - 0x128]
push str.UserPCDomain
push str.__s___s__r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
push str._r_n_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [ebp - 0x128]
sub esi, edi
mov edx, edi
lea ecx, [eax + 1]
add ecx, esi
call fcn.0040f740
push 1
push edi
call fcn.004157ab
add esp, 0x30
push 0x118
lea eax, [ebx + 0x1830]
push 0
push eax
lea esi, [ebx + 0x182c]
call fcn.00416ee0
add esp, 0xc
mov dword [esi], 0x11c
push esi
call fcn.00414e90
add esp, 4
mov dword [ebx + 0x1948], 0
lea edi, [ebx + 0x1948]
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40bad5
push str.GetProductInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40bad5
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
movzx ecx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push edi
push ecx
push eax
push dword [ebp - 0xa0]
mov ecx, esi
push dword [ebp - 0xa4]
call dword [0x42e38c]
call esi
push str.CommonInfo
push 0x435f14
lea eax, [ebp - 0x110]
mov dword [ebx + 0x194c], 0
push 0x436114
lea edi, [ebx + 0x194c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x110]
push 0
push eax
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bb30
push edi
push str.MachineType
push esi
call fcn.00414170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx + 0x1840]
push eax
push dword [ebx + 0x1838]
lea eax, [ebx + 0x2980]
push dword [ebx + 0x1834]
push dword [ebx + 0x1830]
push str._lu__lu__lu__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0x31b8]
push eax
lea eax, [ebx + 0x3840]
push eax
lea eax, [ebx + 0x37c0]
push eax
lea eax, [ebx + 0x3740]
push eax
lea eax, [ebx + 0x35d4]
push eax
lea eax, [ebx + 0x3654]
push eax
lea eax, [ebx + 0x3188]
push eax
lea eax, [ebx + 0x3108]
push eax
lea eax, [ebx + 0x3088]
push eax
lea edx, [ebx + 0x3008]
lea ecx, [ebx + 0x2f88]
call fcn.0040a0e0
add esp, 0x3c
lea eax, [ebx + 0x3720]
lea edx, [ebx + 0x372c]
lea ecx, [ebx + 0x3728]
push eax
lea eax, [ebx + 0x371c]
push eax
lea eax, [ebx + 0x3718]
push eax
lea eax, [ebx + 0x3730]
push eax
call fcn.0040a1c0
add esp, 0x10
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bc0e
lea eax, [ebx + 0x3734]
push eax
push str.LifeType
push esi
call fcn.00414170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurity
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bc42
lea eax, [ebx + 0x1950]
test eax, eax
je 0x40bc3b
push eax
push str.BuildNumber
push esi
call fcn.00414170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bc74
push 0x40
lea eax, [ebx + 0x1ad4]
push eax
push str.PackageId
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bca9
push 0x104
lea eax, [ebx + 0x1cd4]
push eax
push str.PackageComponents
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bcde
push 0x104
lea eax, [ebx + 0x1dd8]
push eax
push str.PackageName
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
lea edi, [ebx + 0x3738]
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bd4c
test edi, edi
je 0x40bd0b
push edi
push str.VersionTSProgram
push esi
call fcn.00414170
lea eax, [ebp - 0x140]
push eax
push str.VersionTSScript
push esi
call fcn.00414170
lea eax, [ebx + 0x373c]
test eax, eax
je 0x40bd33
push eax
push str.VersionAVProgram
push esi
call fcn.00414170
lea eax, [ebp - 0x144]
push eax
push str.VersionAVScript
push esi
call fcn.00414170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bd81
push 0x104
lea eax, [ebx + 0x31bc]
push eax
push 0x437a9c
push esi
call fcn.004141c0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40bdb1
lea eax, [ebx + 0x36d4]
push eax
push str.AffiliateId
push esi
call fcn.00414170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x8800
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je 0x40beef
lea eax, [ebp - 0x128]
mov dword [ebp - 0x124], 0x8000
mov dword [ebp - 0x120], eax
lea esi, [edi + 0x8000]
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x11c], 4
push eax
push edi
lea eax, [ebp - 0x120]
mov ecx, 0x1004d
push 0x8000
push eax
call fcn.0040e470
add esp, 0x14
cmp eax, 1
jne 0x40be3a
cmp dword [ebp - 0x12c], eax
je 0x40be53
lea eax, [ebp - 0x124]
mov edx, edi
push eax
call fcn.00401090
add esp, 4
test eax, eax
jne 0x40bedf
mov eax, dword [ebp - 0x124]
mov ebx, edi
add eax, edi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], eax
cmp edi, eax
jae 0x40bed9
xor eax, eax
cmp eax, 0xa
jae 0x40bed9
mov byte [esi], 0
mov edi, esi
xor esi, esi
nop
movzx eax, byte [esi + ebx]
push eax
push str._02X
push edi
call fcn.004014f0
inc esi
add esp, 0xc
add edi, eax
cmp esi, 6
jb 0x40be80
mov edi, dword [ebp - 0x13c]
lea esi, [edi + 0x8000]
push esi
push 0x437c58
push dword [ebp - 0x130]
call fcn.004014f0
add dword [ebp - 0x130], eax
add ebx, 6
mov eax, dword [ebp - 0x128]
add esp, 0xc
inc eax
mov dword [ebp - 0x128], eax
cmp ebx, dword [ebp - 0x12c]
jb 0x40be73
mov ebx, dword [ebp - 0x138]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebx + 0x1fe0]
call fcn.0040e9d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret