Function at 0x45ae50
Capabilities:
Check os version
Get common file path
Get session user name
Get system information on windows
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc6f1
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x6522a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3ec], ecx
push 0x104
lea eax, [ebp - 0x210]
mov dword [ebp - 0x3f0], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov bl, byte [ebp + 8]
lea eax, [ebp - 0x210]
or esi, 0xffffffff
test bl, bl
je 0x45b4a5
push eax
push str.System_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 4], 0
mov dword [ebp - 0x3dc], 7
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3d8]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x45af57
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45af57
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x45af80
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45af80
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x210]
push eax
push str.Windows_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3dc], 0xa
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.infoSystem
mov dword [ebp - 4], 4
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x45b03b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b03b
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 4], 7
test ecx, ecx
je 0x45b064
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b064
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
push str.Windows_temporary_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3dc], 0xa
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.infoSystem
mov dword [ebp - 4], 8
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x45b11f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b11f
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x45b148
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b148
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3e8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004570e0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.00453230
push eax
push str.User_profile_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
add esp, 0x10
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x45b1af
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b1af
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3dc], 0xa
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.infoSystem
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x45b23b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b23b
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x45b264
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b264
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3e8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00456a80
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0x12
call fcn.00453230
push eax
push str.Current_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
add esp, 0x10
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 4], 0x13
test ecx, ecx
je 0x45b2cb
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b2cb
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3dc], 0xa
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.infoSystem
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x45b357
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b357
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 4], 0x17
test ecx, ecx
je 0x45b380
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b380
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3e8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00456f90
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0x18
call fcn.00453230
push eax
push str.Application_Data_directory:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
add esp, 0x10
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 4], 0x19
test ecx, ecx
je 0x45b3e7
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b3e7
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3dc], 0xa
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], str.infoSystem
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x45b473
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b473
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 4], 0x1d
test ecx, ecx
je 0x45b49c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b49c
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], 0xffffffff
jmp 0x45b4c3
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x40c]
push eax
call fcn.00456ac0
lea eax, [ebp - 0x40c]
mov dword [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00456cb0
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00456e30
add esp, 0x14
test bl, bl
je 0x45b9bd
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0x5c763c
push 0xe
push str.Command_line:
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0x22
call fcn.00451de0
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00448ce0
mov dword [ebp - 0x3f0], 1
mov ecx, dword [ebp - 0x3d8]
mov byte [ebp - 4], 0x23
test ecx, ecx
je 0x45b588
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b588
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x3e8]
call fcn.004516e0
mov dword [ebp - 0x3c0], 0xa
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.infoSystem
mov dword [ebp - 0x3cc], 7
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.Console
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x27
test ecx, ecx
je 0x45b623
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b623
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x28
test ecx, ecx
je 0x45b649
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b649
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x29
test ecx, ecx
je 0x45b66f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b66f
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3f0], 0
mov ecx, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x2a
test ecx, ecx
je 0x45b69f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b69f
mov dword [ebp - 0x3d0], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0x5c763c
push 0x17
push str.Current_exe_directory:
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0x2c
call fcn.00451de0
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00448ce0
mov dword [ebp - 0x3f0], 2
mov ecx, dword [ebp - 0x3d8]
mov byte [ebp - 4], 0x2d
test ecx, ecx
je 0x45b71c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b71c
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x3e8]
call fcn.004516e0
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x31
test ecx, ecx
je 0x45b7b7
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b7b7
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x32
test ecx, ecx
je 0x45b7dd
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b7dd
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x33
test ecx, ecx
je 0x45b803
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b803
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3f0], 0
mov ecx, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x34
test ecx, ecx
je 0x45b833
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b833
mov dword [ebp - 0x3d0], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0x5c763c
push 0x10
push str.Root_directory:
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0x36
call fcn.00451de0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00448ce0
mov dword [ebp - 0x3f0], 4
mov ecx, dword [ebp - 0x3d8]
mov byte [ebp - 4], 0x37
test ecx, ecx
je 0x45b8b0
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b8b0
mov dword [ebp - 0x3d8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 0x35
push eax
lea ecx, [ebp - 0x3e8]
call fcn.004516e0
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x3a
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x3b
test ecx, ecx
je 0x45b94b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b94b
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x3c
test ecx, ecx
je 0x45b971
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b971
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x3d
test ecx, ecx
je 0x45b997
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b997
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x3e
test ecx, ecx
je 0x45b9bd
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45b9bd
mov dword [ebp - 0x3d0], 0
mov eax, dword [ecx]
call dword [eax]
push 0x98
lea eax, [ebp - 0x3ac]
push 0
push eax
call fcn.00595080
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x3b0]
add esp, 0xc
mov dword [ebp - 0x3b0], 0x9c
push eax
call edi
mov ebx, eax
mov dword [ebp - 0x3f0], ebx
test ebx, ebx
jne 0x45ba11
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 0x94
push eax
call edi
mov dword [ebp - 0x3f0], eax
lea eax, [ebp - 0x3f4]
push eax
push 0x64
push 0
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
je 0x45bae0
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
push str.NetWkstaGetInfo_failure
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0x40
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x45baac
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45baac
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x42
test ecx, ecx
je 0x45bad2
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45bad2
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3ac]
mov ebx, dword [ebp - 0x3a8]
jmp 0x45baec
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3d0], ecx
sub eax, 0
je 0x45bdb1
sub eax, 1
je 0x45bd2a
mov dword [ebp - 0x3bc], 0
sub eax, 1
je 0x45bb51
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3b8], str.UNKNOWN
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
add edi, 8
mov byte [ebp - 4], 0x57
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x58
jmp 0x45bdee
mov dword [ebp - 0x3c0], 0x1b
mov dword [ebp - 0x3b8], str.Microsoft_Windows_NT_family
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
add edi, 8
mov byte [ebp - 4], 0x43
push eax
mov ecx, edi
call fcn.00448ed0
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x44
test ecx, ecx
je 0x45bb9c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45bb9c
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x20
cmp eax, 6
jne 0x45bc68
cmp ebx, 2
jne 0x45bbed
mov dword [ebp - 0x3c0], 0x13
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_8
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x45
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x46
jmp 0x45bdee
cmp ebx, 1
jne 0x45bc2b
mov dword [ebp - 0x3c0], 0x13
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_7
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x47
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x48
jmp 0x45bdee
test ebx, ebx
jne 0x45be0a
mov dword [ebp - 0x3c0], 0x17
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], str.Microsoft_Windows_Vista
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x49
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x4a
jmp 0x45bdee
cmp eax, 5
jne 0x45be0a
cmp ebx, 2
jne 0x45bcaf
mov dword [ebp - 0x3c0], 0x18
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_XP_x64
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x4b
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x4c
jmp 0x45bdee
cmp ebx, 1
jne 0x45bced
mov dword [ebp - 0x3c0], 0x14
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_XP
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x4d
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x4e
jmp 0x45bdee
test ebx, ebx
jne 0x45be0a
mov dword [ebp - 0x3c0], 0x16
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], str.Microsoft_Windows_2000
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 0x4f
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x50
jmp 0x45bdee
cmp ecx, 4
jne 0x45bd72
test ebx, ebx
je 0x45bd72
mov dword [ebp - 0x3c0], 0x14
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_98
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
add edi, 8
mov byte [ebp - 4], 0x51
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x52
jmp 0x45bdee
mov dword [ebp - 0x3c0], 0x14
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Windows_95
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
add edi, 8
mov byte [ebp - 4], 0x53
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x54
jmp 0x45bdee
mov dword [ebp - 0x3c0], 0xf
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Microsoft_Win32
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
add edi, 8
mov byte [ebp - 4], 0x55
push eax
mov ecx, edi
call fcn.00448ed0
mov byte [ebp - 4], 0x56
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
je 0x45be06
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45be06
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x20
cmp byte [ebp + 8], 0
je 0x45bebd
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
push edi
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0x5a
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x5b
test ecx, ecx
je 0x45be93
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45be93
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x5c
test ecx, ecx
je 0x45beb9
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45beb9
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x20
push dword [ebp - 0x3d0]
lea eax, [ebp - 0x3e8]
push eax
call fcn.004534e0
add esp, 8
mov edi, dword [ebp - 0x3ec]
add edi, 0x14
mov byte [ebp - 4], 0x5d
push eax
mov ecx, edi
call fcn.00448ed0
push 0x2e
mov ecx, edi
call fcn.00451750
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x5e
test ecx, ecx
je 0x45bf16
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45bf16
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x20
push ebx
push eax
call fcn.004534e0
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 0x5f
call fcn.00451be0
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x60
test ecx, ecx
je 0x45bf5c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45bf5c
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp - 0x3f0], 0
je 0x45c064
mov dword [ebp - 0x3c0], 0xd
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Service_Pack
mov ebx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3c0]
push eax
mov byte [ebp - 4], 0x61
lea ecx, [ebx + 0x20]
call fcn.00448ed0
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x62
test ecx, ecx
je 0x45bfbc
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45bfbc
mov eax, dword [ecx]
call dword [eax]
movzx eax, word [ebp - 0x31c]
push eax
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x20
push eax
call fcn.004534e0
add esp, 8
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0x63
call fcn.00451be0
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x64
test ecx, ecx
je 0x45c00a
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c00a
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
push 0x2e
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0x20
call fcn.00451750
movzx eax, word [ebp - 0x31a]
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.004534e0
add esp, 8
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0x65
call fcn.00451be0
mov ecx, dword [ebp - 0x3e4]
mov byte [ebp - 4], 0x66
test ecx, ecx
je 0x45c06a
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c06a
mov dword [ebp - 0x3e4], 0
mov eax, dword [ecx]
call dword [eax]
jmp 0x45c06a
mov ebx, dword [ebp - 0x3ec]
cmp byte [ebp + 8], 0
je 0x45c6a3
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebx + 0x20]
mov byte [ebp - 4], 0x68
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x69
test ecx, ecx
je 0x45c0f6
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c0f6
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x6a
test ecx, ecx
je 0x45c11c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c11c
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x43c]
lea eax, [ebp - 0x110]
push str.OEM_ID:__u
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x6c
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x6d
test ecx, ecx
je 0x45c1ca
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c1ca
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x6e
test ecx, ecx
je 0x45c1f0
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c1f0
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x428]
lea eax, [ebp - 0x110]
push str.Number_of_Processors:__u
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x70
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x71
test ecx, ecx
je 0x45c291
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c291
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x72
test ecx, ecx
je 0x45c2b7
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c2b7
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x438]
lea eax, [ebp - 0x110]
push str.Page_size:__u
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x74
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x75
test ecx, ecx
je 0x45c358
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c358
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x76
test ecx, ecx
je 0x45c37e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c37e
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x424]
lea eax, [ebp - 0x110]
push str.Processor_Type:__u
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x78
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x79
test ecx, ecx
je 0x45c41f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c41f
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x7a
test ecx, ecx
je 0x45c445
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c445
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x42c]
lea eax, [ebp - 0x110]
push str.Active_processor_mask:__u
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x7c
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x7d
test ecx, ecx
je 0x45c4e6
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c4e6
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x7e
test ecx, ecx
je 0x45c50c
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c50c
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x3d0]
mov dword [ebp - 0x3d0], 0x101
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x45c5fa
lea eax, [ebp - 0x314]
push eax
push str.Username:__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.00453880
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x20
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x81
test ecx, ecx
je 0x45c5d4
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c5d4
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x82
test ecx, ecx
je 0x45c5fa
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c5fa
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x3cc], 0xa
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], str.infoSystem
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], str.Console
push str.___________________________________
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0x84
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x85
test ecx, ecx
je 0x45c67d
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c67d
mov dword [ebp - 0x3bc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x86
test ecx, ecx
je 0x45c6a3
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c6a3
mov dword [ebp - 0x3c8], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x414]
mov byte [ebp - 4], 0x87
test ecx, ecx
je 0x45c6c9
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c6c9
mov dword [ebp - 0x414], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3fc]
mov byte [ebp - 4], 0x88
test ecx, ecx
je 0x45c6ef
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x45c6ef
mov dword [ebp - 0x3fc], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 4], 0x89
test ecx, ecx
je 0x45c716
lock xadd dword [ecx + 4], esi
dec esi
jne 0x45c716
mov dword [ebp - 0x408], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00592832
mov esp, ebp
pop ebp
ret 4