Function at 0x4057b1
Capabilities:
Check for time delay via gettickcount
Get common file path
Get disk information
Get geographical location
Get hostname
Get memory capacity
Get session user name
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
mov esi, ecx
call fcn.00405352
push eax
push ebx
push ecx
push edx
push ebp
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov eax, 1
cpuid
mov edx, eax
mov ecx, eax
mov dword [0x468284], eax
and eax, 0xf
mov dword [0x468280], eax
shr edx, 4
and edx, 0xf
mov dword [0x468278], edx
shr ecx, 8
and ecx, 0xf
mov dword [0x468174], ecx
pop ebp
pop edx
pop ecx
pop ebx
pop eax
call fcn.004052ab
push 0x468288
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [0x468288]
mov ecx, dword [0x46827c]
test cl, 0x20
mov dword [esi + 0x2f8], eax
mov eax, dword [0x46828c]
mov dword [esi + 0x2fc], eax
lea eax, [esi + 0x301]
mov byte [esi + 0x300], 0
mov byte [esi + 0x304], 0
mov byte [esi + 0x305], 0
mov byte [eax], 0
mov byte [esi + 0x302], 0
mov byte [esi + 0x303], 0
je 0x405864
mov byte [eax], 1
test ch, 2
je 0x405870
mov byte [esi + 0x302], 1
test cl, cl
jns 0x40587b
mov byte [esi + 0x304], 1
test ch, 1
je 0x405887
mov byte [esi + 0x305], 1
test ch, 4
je 0x405893
mov byte [esi + 0x303], 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x2f0], eax
mov eax, dword [0x468278]
mov dword [esi + 0x2e0], eax
mov eax, dword [0x468174]
mov dword [esi + 0x2e8], eax
mov eax, dword [0x468280]
mov dword [esi + 0x2e4], eax
mov eax, dword [0x468170]
lea ebx, [esi + 0x160]
push 0x4681f8
push ebx
mov dword [esi + 0x2ec], eax
call fcn.00408760
push str.GenuineIntel
push ebx
mov byte [ebp - 9], 0
call fcn.00409980
add esp, 0x10
test eax, eax
jne 0x40590a
push str.Intel
push ebx
call fcn.00408760
pop ecx
pop ecx
mov byte [ebp - 9], 1
push str.UMC_UMC_UMC
push ebx
call fcn.00409980
test eax, eax
pop ecx
pop ecx
jne 0x405928
push 0x4156c4
push ebx
call fcn.00408760
pop ecx
pop ecx
push str.CyrixInstead
push ebx
call fcn.00409980
test eax, eax
pop ecx
pop ecx
jne 0x405946
push str.Cyrix
push ebx
call fcn.00408760
pop ecx
pop ecx
push str.AuthenticAMD
push ebx
call fcn.00409980
test eax, eax
pop ecx
pop ecx
jne 0x405964
push 0x4156a8
push ebx
call fcn.00408760
pop ecx
pop ecx
push str.NexGenDriven
push ebx
call fcn.00409980
test eax, eax
pop ecx
pop ecx
jne 0x405982
push str.NexGen
push ebx
call fcn.00408760
pop ecx
pop ecx
cmp byte [0x468178], 0x20
mov edi, 0x468178
mov edx, 0x80
jge 0x405a7a
push ebx
push edi
call fcn.00408760
cmp byte [ebp - 9], 0
pop ecx
pop ecx
je 0x405a91
mov eax, dword [esi + 0x2e8]
cmp eax, 4
jne 0x4059f3
cmp dword [esi + 0x2e0], 0
jne 0x4059cd
push str._i486DX
push edi
call fcn.00408770
pop ecx
pop ecx
cmp dword [esi + 0x2e0], 3
jne 0x4059e3
push str._i486DX2
push edi
call fcn.00408770
pop ecx
pop ecx
cmp dword [esi + 0x2e0], 8
jne 0x405a6b
push str._i486DX4
jmp 0x405a63
cmp eax, 5
jne 0x405a1e
cmp dword [esi + 0x2e0], 2
jne 0x405a0e
push str._Pentium
push edi
call fcn.00408770
pop ecx
pop ecx
cmp dword [esi + 0x2e0], 4
jne 0x405a6b
push str._Pentium_MMX
jmp 0x405a63
cmp eax, 6
jne 0x405a6b
mov eax, dword [esi + 0x2e0]
cmp eax, 0xb
jl 0x405a35
push str._Pentum_4
jmp 0x405a63
cmp eax, 7
jl 0x405a41
push str._Pentium_III
jmp 0x405a63
cmp eax, 6
jl 0x405a4d
push str._Celeron
jmp 0x405a63
cmp eax, 5
jl 0x405a59
push str._Pentium_II
jmp 0x405a63
cmp eax, 1
jl 0x405a6b
push str._Pentium_Pro
push edi
call fcn.00408770
pop ecx
pop ecx
push str._Processor
push edi
call fcn.00408770
pop ecx
pop ecx
jmp 0x405a91
xor ecx, ecx
lea eax, [ecx + 0x468178]
cmp byte [eax], 0x20
jge 0x405a8c
mov byte [eax], 0
mov ecx, edx
inc ecx
cmp ecx, edx
jl 0x405a7c
lea ecx, [ebp - 4]
call fcn.00405fcf
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.0040626d
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc0]
push ecx
push eax
lea edi, [esi + 0x20]
push str.Windows__d._d
push edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
call fcn.00408d64
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00405fd2
test eax, eax
je 0x405af3
push str.Windows_95
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406007
test eax, eax
je 0x405b10
push str.Windows_95_SP1
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.0040603b
test eax, eax
je 0x405b2d
push str.Windows_95_OSR2
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406070
test eax, eax
je 0x405b4a
push str.Windows_98
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.004060a5
test eax, eax
je 0x405b67
push str.Windows_98_SP1
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.004060e2
test eax, eax
je 0x405b84
push str.Windows_98_SE
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406117
test eax, eax
je 0x405ba1
push str.Windows_ME
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406140
test eax, eax
je 0x405bbe
push str.Windows_NT_3.1
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406169
test eax, eax
je 0x405bd8
push str.Windows_NT_3.5
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406192
test eax, eax
je 0x405bf2
push str.Windows_NT_3.51
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.004061bb
test eax, eax
je 0x405c0c
push str.Windows_NT_4
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.004061db
test eax, eax
je 0x405c26
push str.Windows_2000
jmp 0x405c3e
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 4]
call fcn.00406204
test eax, eax
je 0x405c46
push str.Windows_XP
push edi
call fcn.00408760
pop ecx
pop ecx
push 0x415530
push edi
call fcn.00408770
lea eax, [ebp - 0xb8]
push eax
push edi
call fcn.00408770
add esp, 0x10
cmp dword [ebp - 0xbc], 4
lea eax, [esi + 0x120]
mov byte [eax], 0
jne 0x405c7a
push str.Windows_NT
jmp 0x405c7f
push str.Windows
push eax
call fcn.00408760
movzx eax, word [ebp - 0x38]
pop ecx
mov dword [esi + 0x1c], eax
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x306]
mov edi, 0x80
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x386]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x40
lea eax, [esi + 0x506]
push eax
push 0x1001
mov ebx, 0x800
push ebx
call edi
push 0x40
lea eax, [esi + 0x546]
push eax
push 0x1002
push ebx
call edi
push 0x40
lea eax, [esi + 0x586]
push eax
push 2
push ebx
call edi
push 0x40
lea eax, [esi + 0x5c6]
push eax
push 6
push ebx
call edi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x28]
lea eax, [esi + 0x608]
and dword [eax + 4], 0
xor edi, edi
cmp ecx, 0xffffffff
mov dword [eax], ecx
jne 0x405d32
cmp dword [eax + 4], edi
jne 0x405d32
mov dword [eax], edi
mov dword [eax + 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xffffffff
lea eax, [esi + 0x610]
mov dword [eax], ecx
mov dword [eax + 4], edi
jne 0x405d52
cmp edi, edi
jne 0x405d52
mov dword [eax], edi
mov dword [eax + 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xffffffff
lea eax, [esi + 0x618]
mov dword [eax], ecx
mov dword [eax + 4], edi
jne 0x405d72
cmp edi, edi
jne 0x405d72
mov dword [eax], edi
mov dword [eax + 4], 1
push 0x104
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
cmp byte [ebp - 0x260], al
je 0x405daa
mov cl, byte [ebp + eax - 0x260]
cmp cl, 0x5c
je 0x405daa
cmp cl, 0x2f
je 0x405daa
inc eax
cmp byte [ebp + eax - 0x260], 0
jne 0x405d8e
push edi
push edi
push edi
push edi
mov byte [ebp + eax - 0x25f], 0
lea eax, [esi + 0x620]
push eax
push edi
push edi
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 8], edi
lea ebx, [esi + 0x624]
mov al, byte [ebp - 8]
add al, 0x41
mov byte [ebp - 0x260], al
lea eax, [ebp - 0x260]
push eax
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x405e0e
push edi
push edi
push edi
push edi
push ebx
push edi
push edi
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x405e0e
mov dword [ebx], edi
inc dword [ebp - 8]
add ebx, 4
cmp dword [ebp - 8], 0x1a
jl 0x405dd5
mov eax, dword [0x468294]
xor ebx, ebx
cmp eax, edi
je 0x405e2d
lea ecx, [ebp - 0x20]
push ecx
call eax
jmp 0x405e37
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
cmp eax, edi
jne 0x405e7e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x405e7e
push 0x2d
push dword [ebp - 0x10]
call fcn.0040a540
cmp eax, edi
pop ecx
pop ecx
je 0x405e70
inc eax
push eax
lea eax, [esi + 0x68c]
push eax
call fcn.00408760
pop ecx
xor ebx, ebx
pop ecx
inc ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
cmp ebx, edi
jne 0x405e85
mov byte [esi + 0x68c], 0
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esi + 0x70c]
mov byte [ecx], 0
jne 0x405ed3
lea eax, [ebp - 8]
push eax
push ecx
push edi
push edi
push str.ProductId
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x80
call ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push edi
push str.Volatile_Environment
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
lea ecx, [esi + 0x406]
mov byte [ecx], 0
mov byte [esi + 0x486], 0
jne 0x405f40
lea eax, [ebp - 8]
push eax
push ecx
push edi
push edi
push str.USERDNSDOMAIN
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x80
call ebx
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x486]
push eax
push edi
push edi
push 0x4154b0
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x80
call ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
jmp 0x405f4e
call fcn.00405562
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp eax, dword [ebp + 8]
mov ecx, esi
jb 0x405f49
call fcn.00405562
push dword [esi + 0x2ec]
mov edi, 0x468178
push edi
lea eax, [esi + 0x1e0]
push str._s__d
push eax
call fcn.00408d64
push dword [esi + 0x2e4]
add esi, 0x260
push dword [esi + 0x80]
push dword [esi + 0x88]
push dword [esi + 0x8c]
push edi
push str._s__d_Family__d_Model__d_Step__d
push esi
call fcn.00408d64
add esp, 0x2c
lea ecx, [ebp - 4]
call fcn.00409b6b
pop edi
pop esi
pop ebx
leave
ret 4