Function at 0x44d4a0
Capabilities:
Create process on windows
Read file on windows
Unmount volume via ioctl
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x102c]
mov eax, 0x102c
call fcn.0048f460
push 0xffffffffffffffff
push 0x4ae3c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4ecba0]
xor eax, ebp
mov dword [ebp + 0x1028], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
call fcn.0046d74a
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44d4fe
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], esi
call fcn.0046d74a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44d52a
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x38
lea ecx, [ebp - 0x64]
push esi
push ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
call fcn.0048f850
add esp, 0xc
call fcn.0046d74a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44d569
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
call fcn.0046d74a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44d599
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push 0xfff
lea ecx, [ebp + 0x29]
push esi
push ecx
mov byte [ebp + 0x28], 0
call fcn.0048f850
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004024f0
push 0x4f3f74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x1044]
mov eax, dword [ebp + 0x103c]
mov ebx, dword [ebp + 0x1038]
mov ecx, dword [ebp + 0x1034]
push edx
push eax
push ebx
push ecx
mov ecx, edi
mov byte [0x4f074d], 0
call fcn.0044cf70
cmp al, 1
jne 0x44dabe
push 0xe
push str.DiskPartTarget
lea ecx, [ebp - 0x28]
call fcn.00402b20
mov edx, dword [ebp - 0x28]
movsx eax, bl
push 0x4c52c4
push eax
push edx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push str.__s__s_d._s
push eax
call fcn.00402d80
mov ecx, dword [ebp - 0x24]
add esp, 0x14
xor bl, bl
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], str.diskpart.exe
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 3
jae 0x44dade
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, al
movzx edi, bl
call esi
push eax
push edi
push 0x499
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition000:_bResult:_d__ErrorCode:_d
call fcn.0044b650
mov eax, dword [ebp - 0x30]
add esp, 0x14
push 0xb71b00
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov esi, eax
push esi
push edi
push 0x49c
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition111:_ErrorCode:_d
call fcn.0044b650
add esp, 0x14
test bl, bl
jne 0x44d703
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
push esi
push ecx
push edx
push 0x4a2
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition:_ucPhysicalAddress__d__PartitionParam:_S_Fail__ErrorCode:_d
call fcn.0044b7f0
add esp, 0x18
inc byte [ebp - 0x11]
jmp 0x44d666
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x1038]
push eax
mov ecx, 0x4f0738
call fcn.0043c030
mov esi, eax
cmp esi, 0x7fffffff
jne 0x44d74f
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
push 0x4ac
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition:_Fail_ucPhysicalAddress___d__Check_Partition_Count__d
xor bl, bl
call fcn.0044b7f0
add esp, 0x14
inc byte [ebp - 0x11]
jmp 0x44d666
mov edi, dword [ebp - 0x1c]
push esi
push edi
push 0x4b1
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition:___d__Check_Partition_Count__d
mov bl, 1
call fcn.0044b7f0
add esp, 0x14
push edi
lea edx, [ebp - 0x20]
push str..PhysicalDrive_d
push edx
call fcn.00402d80
mov eax, dword [ebp - 0x20]
add esp, 0xc
push 0
push 0x20000000
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d7e2
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x70140
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x44d7e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1c]
push eax
push edx
push 0x4be
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition:__C_IOCTL_DISK_UPDATE_PROPERTIES_Fail___dwErrorCode__d
call fcn.0044b650
add esp, 0x14
cmp esi, 1
jne 0x44dade
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x1040]
push 0
lea eax, [ebp - 0x18]
push eax
push ecx
lea edx, [ebp + 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test al, al
jne 0x44d83d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x4c9
push str.CFat32Format::vCreatePartition
push str._s:_d:_m_ucPhysicalAddress__C__Get_MBR__Fail___dwErrorCode__d
call fcn.0044b7f0
add esp, 0x14
jmp 0x44d986
cmp byte [ebp + 0x226], 0x55
jne 0x44d8bf
cmp byte [ebp + 0x227], 0xaa
jne 0x44d8bf
cmp byte [ebp + 0x1e6], 0x80
jne 0x44d8bf
cmp byte [ebp + 0x1ee], 0x3f
jne 0x44d8bf
movzx ecx, byte [ebp + 0x1f5]
movzx edx, byte [ebp + 0x1f4]
movzx eax, byte [ebp + 0x1f3]
shl ecx, 8
add ecx, edx
movzx edx, byte [ebp + 0x1f2]
shl ecx, 8
add ecx, eax
shl ecx, 8
lea eax, [ecx + edx - 1]
shr eax, 6
shl eax, 6
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
mov byte [ebp + 0x1f2], al
mov byte [ebp + 0x1ee], 0x40
mov byte [ebp + 0x1f3], cl
mov byte [ebp + 0x1f4], dl
shr eax, 0x18
jmp 0x44d97a
push 0
lea eax, [ebp - 0x18]
push eax
push 0x28
lea ecx, [ebp]
push ecx
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x200
jl 0x44d980
jg 0x44d8f5
cmp dword [ebp + 0x18], 0
jbe 0x44d980
mov edx, dword [ebp + 0x14]
push 0
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00491b30
mov ecx, eax
movzx eax, byte [ebp + 0x1f1]
mov esi, edx
movzx edx, byte [ebp + 0x1f0]
shl eax, 8
add eax, edx
movzx edx, byte [ebp + 0x1ef]
shl eax, 8
add eax, edx
movzx edx, byte [ebp + 0x1ee]
shl eax, 8
add eax, edx
cdq
sub ecx, eax
sbb esi, edx
shrd ecx, esi, 6
push 0
push 0x40
shr esi, 6
push esi
push ecx
call fcn.00491af0
mov ecx, eax
mov esi, edx
shrd ecx, esi, 8
shr esi, 8
mov byte [ebp + 0x1f3], cl
mov ecx, eax
mov esi, edx
shrd ecx, esi, 0x10
mov byte [ebp + 0x1f2], al
shr esi, 0x10
shrd eax, edx, 0x18
mov byte [ebp + 0x1f4], cl
shr edx, 0x18
mov byte [ebp + 0x1f5], al
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x44d990
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov byte [ebp - 0x11], al
cmp al, 1
je 0x44d9c2
cmp ebx, 5
jl 0x44d990
test al, al
jne 0x44d9e4
call esi
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x503
push str.CFat32Format::vCreatePartition
push str._s:_d:_FSCTL_LOCK_VOLUME_Fail___strPhysicalAddress__s___dwErrorCode:_d
call fcn.0044b7f0
add esp, 0x14
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call esi
mov edx, dword [ebp + 0x1040]
push 0
lea ecx, [ebp - 0x18]
push ecx
push edx
lea eax, [ebp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov bl, al
test bl, bl
jne 0x44da33
call esi
movsx ecx, byte [ebp + 0x1038]
push eax
push ecx
push 0x50d
push str.CFat32Format::vCreatePartition
push str._s:_d:_m_ucPhysicalAddress__C__Write_MBR__Fail___dwErrorCode__d
call fcn.0044b7f0
add esp, 0x14
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0x90020
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test al, al
jne 0x44da6f
call esi
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x515
push str.CFat32Format::vCreatePartition
push str._s:_d:__FSCTL_DISMOUNT_VOLUME_Fail___strLogicalAddress__s___dwErrorCode__d
call fcn.0044b650
add esp, 0x14
cmp byte [ebp - 0x11], 1
jne 0x44dab1
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x9001c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x44dab1
call esi
mov edx, dword [ebp - 0x2c]
push eax
push edx
push 0x51d
push str.CFat32Format::vCreatePartition
push str._s:_d:__FSCTL_UNLOCK_VOLUME_Fail___strLogicalAddress__s_dwErrorCode__d
call fcn.0044b7f0
add esp, 0x14
test edi, edi
je 0x44dade
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44dade
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x538
push str.CFat32Format::vCreatePartition
push str._s:_d:_vCreatePartition:___d__Script_File_Not_Exist___ErrorCode:_d
call fcn.0044b7f0
add esp, 0x10
mov eax, dword [ebp + 0x1038]
push eax
mov ecx, 0x4f3950
call fcn.00458ae0
test al, al
jne 0x44daf5
xor bl, bl
push 0x4f3f74
mov byte [0x4f074d], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 3
jmp 0x44db69
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44db8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dbaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dbd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dbf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1028]
xor ecx, ebp
call fcn.0048f35c
add ebp, 0x102c
mov esp, ebp
pop ebp
ret 0x14