Function at 0x40adc0
Capabilities:
Create process on windows
Get disk information
Get number of processors

Disassembly:
jmp 0x40adc0
push 0xffffffffffffffff
push 0x4988d5
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c6dd4]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6dd4]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, dword [esp + 0x238]
push ecx
mov ebx, ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4a310a
mov dword [esp + 0x40], esi
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str..FileToEmail.cpp
mov dword [esp + 0x23c], 0
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.RunCollectBat
mov byte [esp + 0x240], 1
call fcn.004012d5
lea ecx, [esp + 0x5c]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0040130c
push str.ERROR
push 0x4a39d4
push str.CollectBat
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
mov dword [esp + 0x240], 2
call fcn.00419143
lea ecx, [esp + 0x28]
mov byte [esp + 0x230], 3
call fcn.0040115e
lea ecx, [esp + 0x28]
call fcn.004012f8
push str.ERROR
push 0x4a3d80
push str.CollectBat
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00419143
lea ecx, [esp + 0x24]
mov byte [esp + 0x230], 4
call fcn.0040115e
lea ecx, [esp + 0x24]
call fcn.004012f8
push str.ERROR
push str.FileLocation
push str.CollectBat
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.00419143
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 5
call fcn.0040115e
lea ecx, [esp + 0x14]
call fcn.004012f8
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40af26
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 + 0x2c], eax
push str.CDROM
lea ecx, [esp + 0x34]
mov byte [esp + 0x234], 6
call fcn.004012d5
mov byte [esp + 0x230], 7
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40af6e
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 + 0x18], ebp
mov byte [esp + 0x230], 8
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40afa0
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 + 0x20], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x230], 9
je 0x40b37a
mov edx, dword [esp + 0x30]
test edx, edx
je 0x40b2d6
test eax, eax
jl 0x40b2d6
push edx
push ecx
call fcn.00451e9f
add esp, 8
test eax, eax
je 0x40b2d6
mov edx, dword [esp + 0x14]
sub eax, edx
cmp ax, 0xffff
je 0x40b2d6
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx - 0xc]
mov eax, dword [edx - 0xc]
sub eax, ecx
sub eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401168
mov ecx, esi
mov byte [esp + 0x230], 0xa
call fcn.004011b3
push 0
lea eax, [esp + 0xc0]
push 0
push eax
call fcn.0045198b
add esp, 0xc
lea ecx, [esp + 0xbc]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x40b06e
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.No_drives_in_local_machine
call fcn.004012d5
lea ecx, [esp + 0x58]
call fcn.00401514
cmp dword [ebp - 0xc], 0
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0xbc]
jne 0x40b2a9
cmp byte [esi], 0
je 0x40b130
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x40b112
mov edx, dword [esp + 0x28]
push edx
push edi
push esi
lea eax, [esp + 0x38]
push str._s_s_s
push eax
call fcn.0040105f
add esp, 0x14
lea ecx, [esp + 0x60]
call fcn.00419801
mov ecx, dword [esp + 0x2c]
push 0
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x238], 0xb
call fcn.0041988d
test eax, eax
je 0x40b101
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401339
mov eax, dword [esp + 0x24]
push eax
push edi
push esi
lea ecx, [esp + 0x2c]
push str._s_s_s
push ecx
call fcn.0040105f
mov ebp, dword [esp + 0x2c]
add esp, 0x14
lea ecx, [esp + 0x60]
mov byte [esp + 0x230], 0xa
call fcn.00419825
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b117
sub eax, edx
cmp dword [ebp - 0xc], 0
lea esi, [esi + eax + 1]
je 0x40b083
cmp dword [ebp - 0xc], 0
jne 0x40b2a9
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.Couldnt_find_collect.bat_file_on_CD
call fcn.004012d5
lea ecx, [esp + 0x58]
call fcn.00401514
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b17a
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 + 0x230], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x230], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1c6
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 + 0x230], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1ee
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 + 0x230], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b216
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 + 0x230], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b23e
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 + 0x230], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b266
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 + 0x230], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b28e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x230], 0xffffffff
call fcn.004013f2
xor al, al
jmp 0x40b609
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b39a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b39a
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401217
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0xc
call fcn.00401339
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x230], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401217
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 0xd
call fcn.00401339
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x230], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b396
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401339
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
call fcn.00401339
mov ebp, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x124]
push 0
push eax
call fcn.00451640
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
lea edx, [esp + 0x134]
push str._s__f__s
push edx
call fcn.00451fbb
push 0x44
lea eax, [esp + 0x98]
push 0
push eax
call fcn.00451640
add esp, 0x28
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x140]
push eax
mov ebp, 0x103
push 0
mov dword [esp + 0xa0], 0x44
mov word [esp + 0xd0], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0x5c], ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edx
call esi
push 0x3e8
call edi
cmp dword [esp + 0x34], ebp
je 0x40b441
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x40]
push ecx
call esi
push str.ERROR
push 0x4a3d44
push str.CollectBat
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00419143
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x234], 0xe
call fcn.00401339
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x230], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.0040115e
mov ecx, esi
call fcn.004012f8
push esi
mov ecx, ebx
call fcn.004012d0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x230], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b503
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 + 0x230], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b52b
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 + 0x230], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b553
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 + 0x230], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b57b
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 + 0x230], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5a3
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 + 0x230], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5cb
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 + 0x230], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x230], 0xffffffff
call fcn.004013f2
mov al, 1
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0045162d
add esp, 0x220
ret 4