Function at 0x407460
Capabilities:
Check os version
Contain obfuscated stackstrings
Get common file path
Get cpu information
Get disk information
Get disk size
Get session information
Get session user name
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bee0
mov eax, dword fs:[0]
push eax
sub esp, 0xa04
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9cc], edi
push 0x98c
push 0
push edi
call fcn.0041cce0
add esp, 0xc
lea ecx, [ebp - 0x534]
call fcn.00406700
test eax, eax
je 0x4074c7
lea eax, [ebp - 0x534]
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x4074d6
mov eax, dword [str.NULL]
mov dword [edi], eax
mov al, byte [0x44995c]
mov byte [edi + 4], al
push ecx
lea esi, [edi + 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ecx
push esi
push 1
push str.ProcessorNameString
mov edx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004132c0
add esp, 0x18
test eax, eax
jne 0x407525
movups xmm0, xmmword [str.Find_CPU_infomation_error]
movups xmmword [esi], xmm0
movq xmm0, qword [0x449a30]
movq qword [esi + 0x10], xmm0
mov ax, word [0x449a38]
mov word [esi + 0x18], ax
call fcn.00406b60
mov esi, eax
push esi
call fcn.00422f39
push esi
mov dword [edi + 0x100], eax
call fcn.00419e41
call fcn.00406ae0
mov esi, eax
push esi
call fcn.00422f39
push esi
mov dword [edi + 0x104], eax
call fcn.00419e41
add esp, 0x10
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x9d4], eax
nop word [eax + eax]
add al, 0x42
mov word [ebp - 0x37], 0x5c3a
mov byte [ebp - 0x38], al
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x35], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4075d1
lea eax, [ebp - 0x9f8]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [ebp - 0x9f0]
mov eax, dword [ebp - 0x9ec]
shrd ecx, eax, 0x1e
mov eax, dword [ebp - 0x9f4]
add esi, ecx
mov ecx, dword [ebp - 0x9f8]
shrd ecx, eax, 0x1e
add edi, ecx
mov eax, dword [ebp - 0x9d4]
inc eax
mov dword [ebp - 0x9d4], eax
cmp eax, 0x1a
jl 0x407570
mov dword [ebp - 0x9d4], edi
mov edi, dword [ebp - 0x9cc]
mov eax, dword [ebp - 0x9d4]
mov dword [ebp - 0x9d0], 0
mov dword [ebp - 0x9e0], 0
mov dword [edi + 0x10c], eax
lea eax, [ebp - 0x9e0]
push eax
lea eax, [ebp - 0x9d0]
mov dword [edi + 0x108], esi
push eax
push 5
push 0xffffffffffffffff
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x40766e
mov ecx, dword [ebp - 0x9d0]
lea edx, [edi + 0x110]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x407641
push dword [ebp - 0x9d0]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
lea ecx, [edi + 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407663
sub ecx, edx
jne 0x40767c
movups xmm0, xmmword [0x449934]
movups xmmword [edi + 0x110], xmm0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
lea eax, [edi + 0x162]
push str._d___d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x31b5d43b
mul esi
mov eax, 0x95217cb1
mov edi, edx
shr edi, 0x18
imul ecx, edi, 0xfad9a400
add esi, ecx
mul esi
mov ecx, edx
shr ecx, 0x15
imul eax, ecx, 0xffc91180
add esi, eax
mov eax, 0x45e7b273
mul esi
shr edx, 0xe
push edx
push ecx
push edi
mov edi, dword [ebp - 0x9cc]
push 0x449a44
lea eax, [edi + 0x574]
push eax
call fcn.00411150
push 0x104
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.0041cce0
add esp, 0x20
lea ecx, [ebp - 0x330]
call fcn.00406be0
test eax, eax
je 0x407736
lea eax, [ebp - 0x330]
push eax
lea eax, [edi + 0x1a2]
push 0x4498d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.004070c0
mov edx, edi
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax + 0x2a1], cl
test cl, cl
jne 0x407740
lea ecx, [ebp - 0x22c]
call fcn.00407320
lea ecx, [ebp - 0x22c]
mov edx, edi
mov eax, ecx
sub edx, eax
nop word [eax + eax]
mov al, byte [ecx]
mov byte [edx + ecx + 0x3a2], al
inc ecx
test al, al
jne 0x407770
push ecx
lea esi, [edi + 0x406]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ecx
push esi
push 1
push str.DriverDesc
mov edx, str.SYSTEMCurrentControlSetControlClass4D36E968_E325_11CE_BFC1_08002BE103180000
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004132c0
add esp, 0x18
test eax, eax
jne 0x4077bb
mov eax, dword [str.NULL]
mov dword [esi], eax
mov al, byte [0x44995c]
mov byte [esi + 4], al
push 0x4533c8
lea eax, [edi + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call fcn.00411020
mov ecx, eax
test ecx, ecx
je 0x407f08
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9d8], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x9d8]
push dword [0x4533c4]
push 0x449858
push eax
call fcn.0040f980
mov esi, dword [ebp - 0x9d8]
lea eax, [edi + 0x4f0]
add esp, 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
cmp eax, 0x809
ja 0x4078ce
je 0x4078ae
sub eax, 0x404
je 0x40788e
sub eax, 5
je 0x40786e
sub eax, 0x3fb
jne 0x4078e7
movq xmm0, qword [0x449ac0]
movq qword [edi + 0x510], xmm0
mov al, byte [0x449ac8]
mov byte [edi + 0x518], al
jmp 0x40799c
movq xmm0, qword [0x449b04]
movq qword [edi + 0x510], xmm0
mov al, byte [0x449b0c]
mov byte [edi + 0x518], al
jmp 0x40799c
movq xmm0, qword [0x449ab4]
movq qword [edi + 0x510], xmm0
mov al, byte [0x449abc]
mov byte [edi + 0x518], al
jmp 0x40799c
movq xmm0, qword [0x449af8]
movq qword [edi + 0x510], xmm0
mov al, byte [0x449b00]
mov byte [edi + 0x518], al
jmp 0x40799c
cmp eax, 0xc04
je 0x407976
cmp eax, 0x1004
je 0x40794c
cmp eax, 0x1404
je 0x40792a
movups xmm0, xmmword [str.Find_Language_infomation_error]
movups xmmword [edi + 0x510], xmm0
movq xmm0, qword [0x449b20]
movq qword [edi + 0x520], xmm0
mov eax, dword [0x449b28]
mov dword [edi + 0x528], eax
mov ax, word [0x449b2c]
mov word [edi + 0x52c], ax
mov al, byte [0x449b2e]
mov byte [edi + 0x52e], al
jmp 0x40799c
movq xmm0, qword [0x449ae8]
movq qword [edi + 0x510], xmm0
mov eax, dword [0x449af0]
mov dword [edi + 0x518], eax
mov al, byte [0x449af4]
jmp 0x407996
movq xmm0, qword [0x449adc]
movq qword [edi + 0x510], xmm0
mov ax, word [0x449ae4]
mov word [edi + 0x518], ax
mov al, byte [0x449ae6]
mov byte [edi + 0x51a], al
jmp 0x40799c
movq xmm0, qword [0x449acc]
movq qword [edi + 0x510], xmm0
mov eax, dword [0x449ad4]
mov dword [edi + 0x518], eax
mov al, byte [0x449ad8]
mov byte [edi + 0x51c], al
push 0x32
add edi, 0x542
mov dword [ebp - 0x1c], 0x6b72614d
push 0
push edi
mov dword [ebp - 0x18], 0x656d6954
mov byte [ebp - 0x14], 0
call fcn.0041cce0
push 0x400
lea eax, [ebp - 0x934]
push 0
push eax
call fcn.0041cce0
push 0x4534c8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x54535953
push eax
lea eax, [ebp - 0x934]
mov dword [ebp - 0x28], 0x535c4d45
push eax
mov dword [ebp - 0x24], 0x63656c65
mov word [ebp - 0x20], 0x74
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x934]
push 0x32
push ecx
push edi
push 1
push eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004132c0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x407a43
mov ecx, 0x449980
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x407a36
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [ebp - 0x9dc], 0x6425
mov byte [ebp - 0x9da], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x31b5d43b
mul ecx
mov dword [ebp - 0x9d0], ecx
lea ecx, [ebp - 0x9dc]
mov edi, edx
shr edi, 0x18
push edi
push ecx
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp - 0x9d0]
mov eax, 0x95217cb1
imul ecx, edi, 0xfad9a400
add edx, ecx
lea ecx, [ebp - 0x9dc]
mov dword [ebp - 0x9d0], edx
mul edx
mov edi, edx
shr edi, 0x15
push edi
push ecx
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp - 0x9d0]
mov eax, 0x45e7b273
imul ecx, edi, 0xffc91180
add edx, ecx
mul edx
lea eax, [ebp - 0x9dc]
shr edx, 0xe
push edx
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [ebp - 0x9cc]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [edi + 0x182]
push 0x4494dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x400
push 0
push 0x453a90
mov dword [ebp - 0x9d4], 0
call fcn.0041cce0
add esp, 0x44
push 0x449288
push dword [0x44fb70]
call fcn.0041c040
add esp, 8
test eax, eax
jne 0x407bbb
mov edi, 0x44fb70
xor esi, esi
mov ecx, dword [edi]
call fcn.004136a0
test eax, eax
je 0x407b7e
push dword [esi + 0x44fb74]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x453a90
call esi
push 0x449288
push 0x453a90
call esi
mov eax, dword [ebp - 0x9d4]
inc eax
push 0x449288
mov dword [ebp - 0x9d4], eax
lea esi, [eax*8]
push dword [esi + 0x44fb70]
lea edi, [esi + 0x44fb70]
call fcn.0041c040
add esp, 8
test eax, eax
je 0x407b54
mov esi, dword [ebp - 0x9d8]
mov edi, dword [ebp - 0x9cc]
push 0x449288
push 0x453a90
call fcn.0041c040
add esp, 8
test eax, eax
jne 0x407be1
push 0x4499d0
push 0x453a90
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [edi + 0x5d4]
push 0x453a90
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0xa00], 8
lea eax, [ebp - 0xa00]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0x9fc]
mul ecx
lea eax, [edi + 0x5f4]
shr edx, 6
push edx
push 0x449b30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x449b38
lea eax, [edi + 0x674]
push 0x4498d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x430]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x430]
push eax
lea eax, [edi + 0x6d8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [edi + 0x7d8]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x90
lea eax, [ebp - 0x9c4]
push 0
push eax
call fcn.0041cce0
add esp, 0xc
mov dword [ebp - 0x9c8], 0x94
lea eax, [ebp - 0x9c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x407e98
cmp dword [ebp - 0x9c4], 5
jbe 0x407e98
lea eax, [ebp - 0x9d8]
mov dword [ebp - 0x9d8], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x9d4], 4
mov dword [ebp - 0x9e8], 0
mov dword [ebp - 0x9e4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407e8c
lea eax, [ebp - 0x9e4]
push eax
lea eax, [ebp - 0x9e8]
push eax
lea eax, [ebp - 0x9d4]
push eax
push 0
push str.EnableLUA
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407e8c
cmp dword [ebp - 0x9e8], eax
setne al
test eax, eax
je 0x407e8c
lea eax, [ebp - 0x9e4]
mov dword [ebp - 0x9e0], 0
push eax
lea eax, [ebp - 0x9e0]
mov dword [ebp - 0x9d0], 0
push eax
lea eax, [ebp - 0x9d4]
push eax
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
lea eax, [ebp - 0x9e4]
push eax
lea eax, [ebp - 0x9d0]
push eax
lea eax, [ebp - 0x9d4]
push eax
push 0
push str.PromptOnSecureDesktop
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add edi, eax
mov edi, dword [ebp - 0x9cc]
jne 0x407e69
mov eax, dword [ebp - 0x9e0]
cmp eax, 5
jne 0x407e30
mov eax, dword [ebp - 0x9d0]
test eax, eax
jne 0x407e08
mov eax, dword [0x449bd0]
mov dword [edi + 0x858], eax
mov ax, word [0x449bd4]
mov word [edi + 0x85c], ax
mov al, byte [0x449bd6]
jmp 0x407e86
cmp eax, 1
jne 0x407e8c
mov eax, dword [0x449bd8]
mov dword [edi + 0x858], eax
mov ax, word [0x449bdc]
mov word [edi + 0x85c], ax
mov al, byte [0x449bde]
jmp 0x407e86
cmp eax, 2
jne 0x407e5d
cmp dword [ebp - 0x9d0], 1
jne 0x407e8c
mov eax, dword [0x449be0]
mov dword [edi + 0x858], eax
mov ax, word [0x449be4]
mov word [edi + 0x85c], ax
mov al, byte [0x449be6]
jmp 0x407e86
test eax, eax
jne 0x407e8c
cmp dword [ebp - 0x9d0], eax
jne 0x407e8c
mov eax, dword [0x449be8]
mov dword [edi + 0x858], eax
mov ax, word [0x449bec]
mov word [edi + 0x85c], ax
mov al, byte [0x449bee]
mov byte [edi + 0x85e], al
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call fcn.0042217a
mov dword [ebp - 0xa08], eax
lea eax, [ebp - 0xa08]
push eax
mov dword [ebp - 0xa04], edx
call fcn.00422153
push eax
push str.__Y__m__d__X__A
lea eax, [edi + 0x958]
push 0x32
push eax
call fcn.0042337a
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407eed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410df0
int3