Function at 0x407330
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 0x4358e0
mov eax, dword fs:[0]
push eax
sub esp, 0xa04
mov eax, dword [0x446040]
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.004166e0
add esp, 0xc
lea ecx, [ebp - 0x534]
call fcn.004065d0
test eax, eax
je 0x407397
lea eax, [ebp - 0x534]
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x4073a6
mov eax, dword [str.NULL]
mov dword [edi], eax
mov al, byte [0x43ffbc]
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.004131c0
add esp, 0x18
test eax, eax
jne 0x4073f5
movups xmm0, xmmword [str.Find_CPU_infomation_error]
movups xmmword [esi], xmm0
movq xmm0, qword [0x440090]
movq qword [esi + 0x10], xmm0
mov ax, word [0x440098]
mov word [esi + 0x18], ax
call fcn.00406a30
mov esi, eax
push esi
call fcn.0041c939
push esi
mov dword [edi + 0x100], eax
call fcn.00413845
call fcn.004069b0
mov esi, eax
push esi
call fcn.0041c939
push esi
mov dword [edi + 0x104], eax
call fcn.00413845
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 0x4074a1
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 0x407440
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 0x40753e
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 0x407511
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 0x407533
sub ecx, edx
jne 0x40754c
movups xmm0, xmmword [0x43ff94]
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 0x4400a4
lea eax, [edi + 0x574]
push eax
call fcn.00411020
push 0x104
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.004166e0
add esp, 0x20
lea ecx, [ebp - 0x330]
call fcn.00406ab0
test eax, eax
je 0x407606
lea eax, [ebp - 0x330]
push eax
lea eax, [edi + 0x1a2]
push 0x43ff34
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00406f90
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 0x407610
lea ecx, [ebp - 0x22c]
call fcn.004071f0
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 0x407640
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.004131c0
add esp, 0x18
test eax, eax
jne 0x40768b
mov eax, dword [str.NULL]
mov dword [esi], eax
mov al, byte [0x43ffbc]
mov byte [esi + 4], al
push 0x44a390
lea eax, [edi + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call fcn.00410ef0
mov ecx, eax
test ecx, ecx
je 0x407dd8
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 [0x44a388]
push 0x43feb8
push eax
call fcn.0040f850
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 0x40779e
je 0x40777e
sub eax, 0x404
je 0x40775e
sub eax, 5
je 0x40773e
sub eax, 0x3fb
jne 0x4077b7
movq xmm0, qword [0x440120]
movq qword [edi + 0x510], xmm0
mov al, byte [0x440128]
mov byte [edi + 0x518], al
jmp 0x40786c
movq xmm0, qword [0x440164]
movq qword [edi + 0x510], xmm0
mov al, byte [0x44016c]
mov byte [edi + 0x518], al
jmp 0x40786c
movq xmm0, qword [0x440114]
movq qword [edi + 0x510], xmm0
mov al, byte [0x44011c]
mov byte [edi + 0x518], al
jmp 0x40786c
movq xmm0, qword [0x440158]
movq qword [edi + 0x510], xmm0
mov al, byte [0x440160]
mov byte [edi + 0x518], al
jmp 0x40786c
cmp eax, 0xc04
je 0x407846
cmp eax, 0x1004
je 0x40781c
cmp eax, 0x1404
je 0x4077fa
movups xmm0, xmmword [str.Find_Language_infomation_error]
movups xmmword [edi + 0x510], xmm0
movq xmm0, qword [0x440180]
movq qword [edi + 0x520], xmm0
mov eax, dword [0x440188]
mov dword [edi + 0x528], eax
mov ax, word [0x44018c]
mov word [edi + 0x52c], ax
mov al, byte [0x44018e]
mov byte [edi + 0x52e], al
jmp 0x40786c
movq xmm0, qword [0x440148]
movq qword [edi + 0x510], xmm0
mov eax, dword [0x440150]
mov dword [edi + 0x518], eax
mov al, byte [0x440154]
jmp 0x407866
movq xmm0, qword [0x44013c]
movq qword [edi + 0x510], xmm0
mov ax, word [0x440144]
mov word [edi + 0x518], ax
mov al, byte [0x440146]
mov byte [edi + 0x51a], al
jmp 0x40786c
movq xmm0, qword [0x44012c]
movq qword [edi + 0x510], xmm0
mov eax, dword [0x440134]
mov dword [edi + 0x518], eax
mov al, byte [0x440138]
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.004166e0
push 0x400
lea eax, [ebp - 0x934]
push 0
push eax
call fcn.004166e0
push 0x44a4a0
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.004131c0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x407913
mov ecx, 0x43ffe0
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x407906
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 0x43fb3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x400
push 0
push 0x44aa68
mov dword [ebp - 0x9d4], 0
call fcn.004166e0
add esp, 0x44
push 0x43f8e8
push dword [0x446b70]
call fcn.00415a40
add esp, 8
test eax, eax
jne 0x407a8b
mov edi, 0x446b70
xor esi, esi
mov ecx, dword [edi]
call fcn.004135a0
test eax, eax
je 0x407a4e
push dword [esi + 0x446b74]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44aa68
call esi
push 0x43f8e8
push 0x44aa68
call esi
mov eax, dword [ebp - 0x9d4]
inc eax
push 0x43f8e8
mov dword [ebp - 0x9d4], eax
lea esi, [eax*8]
push dword [esi + 0x446b70]
lea edi, [esi + 0x446b70]
call fcn.00415a40
add esp, 8
test eax, eax
je 0x407a24
mov esi, dword [ebp - 0x9d8]
mov edi, dword [ebp - 0x9cc]
push 0x43f8e8
push 0x44aa68
call fcn.00415a40
add esp, 8
test eax, eax
jne 0x407ab1
push 0x440030
push 0x44aa68
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [edi + 0x5d4]
push 0x44aa68
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 0x440190
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x440198
lea eax, [edi + 0x674]
push 0x43ff34
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.004166e0
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 0x407d68
cmp dword [ebp - 0x9c4], 5
jbe 0x407d68
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 0x407d5c
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 0x407d5c
cmp dword [ebp - 0x9e8], eax
setne al
test eax, eax
je 0x407d5c
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 0x407d39
mov eax, dword [ebp - 0x9e0]
cmp eax, 5
jne 0x407d00
mov eax, dword [ebp - 0x9d0]
test eax, eax
jne 0x407cd8
mov eax, dword [0x440230]
mov dword [edi + 0x858], eax
mov ax, word [0x440234]
mov word [edi + 0x85c], ax
mov al, byte [0x440236]
jmp 0x407d56
cmp eax, 1
jne 0x407d5c
mov eax, dword [0x440238]
mov dword [edi + 0x858], eax
mov ax, word [0x44023c]
mov word [edi + 0x85c], ax
mov al, byte [0x44023e]
jmp 0x407d56
cmp eax, 2
jne 0x407d2d
cmp dword [ebp - 0x9d0], 1
jne 0x407d5c
mov eax, dword [0x440240]
mov dword [edi + 0x858], eax
mov ax, word [0x440244]
mov word [edi + 0x85c], ax
mov al, byte [0x440246]
jmp 0x407d56
test eax, eax
jne 0x407d5c
cmp dword [ebp - 0x9d0], eax
jne 0x407d5c
mov eax, dword [0x440248]
mov dword [edi + 0x858], eax
mov ax, word [0x44024c]
mov word [edi + 0x85c], ax
mov al, byte [0x44024e]
mov byte [edi + 0x85e], al
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call fcn.0041bb7a
mov dword [ebp - 0xa08], eax
lea eax, [ebp - 0xa08]
push eax
mov dword [ebp - 0xa04], edx
call fcn.0041bb53
push eax
push str.__Y__m__d__X__A
lea eax, [edi + 0x958]
push 0x32
push eax
call fcn.0041cd7a
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 0x407dbd
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.004137fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410cc0
int3