Function at 0x408b70
Capabilities:
Check os version
Create process on windows
Get disk information
Get number of processors

Disassembly:
jmp 0x408b70
push 0xffffffffffffffff
push 0x498505
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c6dd4]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov eax, dword [0x4c6dd4]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x23c]
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4a310a
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..FileToEmail.cpp
mov dword [esp + 0x240], 0
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.RunInstallLogs
mov byte [esp + 0x244], 1
call fcn.004012d5
lea ecx, [esp + 0x60]
mov dword [esp + 0x240], 0xffffffff
call fcn.0040130c
push str.ERROR
push 0x4a39d4
push str.InstallLogs
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x244], 2
mov byte [0x4c8dd0], 1
call fcn.00419143
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 3
call fcn.0040115e
lea ecx, [esp + 0x18]
call fcn.004012f8
push str.ERROR
push str.FileLocation
push str.InstallLogs
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00419143
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 4
call fcn.0040115e
lea ecx, [esp + 0x10]
call fcn.004012f8
push str.ERROR
push str.Params
push str.InstallLogs
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00419143
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 5
call fcn.0040115e
lea ecx, [esp + 0x24]
call fcn.004012f8
push str.ERROR
push str.AutoRuninf
push str.InstallLogs
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00419143
lea ecx, [esp + 0x20]
mov byte [esp + 0x234], 6
call fcn.0040115e
lea ecx, [esp + 0x20]
call fcn.004012f8
push str.ERROR
push str.ZipFile
push str.InstallLogs
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00419143
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 7
call fcn.0040115e
lea ecx, [esp + 0x28]
call fcn.004012f8
push 0
push str.ZipFileLocation
push str.InstallLogs
mov ecx, esi
call fcn.00418ed9
mov dword [esp + 0x3c], eax
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408d59
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.CDROM
lea ecx, [esp + 0x30]
mov byte [esp + 0x238], 8
call fcn.004012d5
mov byte [esp + 0x234], 9
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408da1
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x234], 0xa
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408dd3
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x234], 0xb
je 0x40918c
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x409139
test eax, eax
jl 0x409139
push edx
push ecx
call fcn.00451e9f
add esp, 8
test eax, eax
je 0x409139
mov edx, dword [esp + 0x10]
sub eax, edx
cmp ax, 0xffff
je 0x409139
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx - 0xc]
mov eax, dword [edx - 0xc]
sub eax, ecx
sub eax, 1
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.00401168
mov ecx, edi
mov byte [esp + 0x234], 0xc
call fcn.004011b3
push 0
lea eax, [esp + 0xc4]
push 0
push eax
call fcn.0045198b
add esp, 0xc
lea ecx, [esp + 0xc0]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x408ea1
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str.No_drives_in_local_machine
call fcn.004012d5
lea ecx, [esp + 0x5c]
call fcn.00401514
cmp dword [ebp - 0xc], 0
mov edi, dword [esp + 0x34]
lea esi, [esp + 0xc0]
jne 0x409113
cmp byte [esi], 0
je 0x408f4a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x408f2c
mov edx, dword [esp + 0x18]
push edx
push edi
push esi
lea eax, [esp + 0x28]
push str._s_s_s
push eax
call fcn.0040105f
add esp, 0x14
lea ecx, [esp + 0x64]
call fcn.00419801
mov ecx, dword [esp + 0x1c]
push 0
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x23c], 0xd
call fcn.0041988d
test eax, eax
je 0x408f1b
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00401339
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x64]
mov byte [esp + 0x234], 0xc
call fcn.00419825
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408f31
sub eax, edx
cmp dword [ebp - 0xc], 0
lea esi, [esi + eax + 1]
je 0x408eb6
cmp dword [ebp - 0xc], 0
jne 0x409113
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str.Couldnt_find_autorun.inf_file_on_CD
call fcn.004012d5
lea ecx, [esp + 0x5c]
call fcn.00401514
lea eax, [edi - 0x10]
mov byte [esp + 0x234], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x234], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x234], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x234], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x234], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409080
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x234], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x234], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x234], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x234], 0xffffffff
call fcn.004013f2
xor al, al
jmp 0x40940b
lea eax, [edi - 0x10]
mov byte [esp + 0x234], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40919e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40919e
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00401217
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 0xe
call fcn.00401339
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x234], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40919a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40919a
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401339
mov ebp, dword [esp + 0x14]
push 0x104
lea edx, [esp + 0x128]
push 0
push edx
call fcn.00451640
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push ebp
lea ecx, [esp + 0x144]
push str._s__s_.._s__zipfile__s__zipfilelocation__d
push ecx
call fcn.00451fbb
push 0x44
lea edx, [esp + 0xa8]
push 0
push edx
call fcn.00451640
add esp, 0x34
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x144]
push edx
mov ebp, 0x103
push 0
mov dword [esp + 0xa4], 0x44
mov word [esp + 0xd4], 0
mov dword [esp + 0xd0], 1
mov dword [esp + 0x60], ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x38]
push eax
push ecx
call esi
push 0x3e8
call edi
cmp dword [esp + 0x38], ebp
je 0x409260
mov edx, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x44]
push eax
call esi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x234], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40932d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x234], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x234], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40937d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x234], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x234], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x234], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x234], 0xffffffff
call fcn.004013f2
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0045162d
add esp, 0x228
ret 4