Function at 0x442184
Capabilities:
Get disk information
Get disk size
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x360
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x108]
mov ebx, dword [ebp + 0x1c]
mov esi, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, edi
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], eax
mov al, byte [ebp + 8]
movzx eax, al
push eax
call fcn.0044146a
pop ecx
test al, al
je 0x4422b8
mov ecx, dword [ebp + 0x18]
shr esi, 1
xor eax, eax
mov dword [esp + 0x30], esi
sub ecx, dword [ebp + 0x14]
cmovb ecx, eax
cmp ecx, esi
jb 0x442a1a
mov eax, dword [ebx]
add esi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
call fcn.00441381
test eax, eax
je 0x442871
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x150]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 8]
mov dword [edx], ecx
lea ecx, [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [edx + 8], edi
mov ecx, ebx
mov ebx, dword [ebp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], edi
mov dword [edx + 0x18], eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
lea ecx, [esp + 0x30]
mov dword [edx + 0x2c], ecx
lea ecx, [esp + 0x108]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0x38], esi
mov dword [edx + 0x3c], edi
mov dword [edx + 0x40], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x44], ebx
mov dword [edx + 0x48], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x4c], eax
mov dword [edx + 0x50], ecx
lea ecx, [esp + 0xa8]
push 0
push dword [esp + 0x18]
call fcn.00442aff
pop eax
pop ecx
jmp 0x4429b0
mov edx, dword [0x452ee0]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], ecx
cmp ebx, esi
jae 0x4427dd
mov eax, dword [ecx]
mov eax, dword [eax]
bt eax, ebx
jae 0x4423b5
lea eax, [ebx + 0x41]
mov esi, ecx
mov word [esp + 0x20], ax
mov dword [esp + 0x22], 0x5c003a
and word [esp + 0x26], 0
mov dword [esp + 8], eax
push edx
mov edi, edx
call sub.KERNEL32.DLL_GetDriveTypeW
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x4423c5
mov dword [esp + 0x1c], eax
push 0x20a
push 0
lea eax, [esp + 0x158]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
push 0x20
lea eax, [esp + 0x114]
push eax
push 0
push 0
push 0
push 0x105
lea eax, [esp + 0x168]
push eax
push edi
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x4423d4
xor eax, eax
mov ecx, 0x20a
test ecx, ecx
je 0x4423ed
cmp word [esp + eax*2 + 0x150], 0
je 0x4423f2
inc eax
add ecx, 0xfffffffe
jmp 0x4423a0
mov dword [esp + 0xb8], 3
jmp 0x442742
mov edx, edi
mov dword [esp + 0xb8], 3
jmp 0x4423e3
mov dword [esp + 0xb8], 3
lea edx, [esp + 0x20]
mov ecx, esi
mov esi, dword [ebp + 0x18]
jmp 0x442742
mov eax, 0x105
lea ecx, [esp + 0x150]
mov edx, 0x105
push 0x452738
push eax
call fcn.00441988
pop ecx
pop ecx
mov edi, edx
lea ecx, [esp + 0x9c]
mov edx, eax
push edi
call fcn.0044173e
pop eax
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
xor eax, eax
push 0x40
pop ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x442451
cmp word [esp + eax*2 + 0x110], 0
je 0x442458
inc eax
add ecx, 0xfffffffe
jmp 0x44243c
push 0x20
pop edx
mov eax, edx
jmp 0x44245b
push 0x20
pop edx
lea ecx, [esp + 0x110]
push 0x452748
push eax
call fcn.00441988
pop ecx
pop ecx
mov ecx, edx
mov edi, eax
mov ebx, edx
call fcn.0040f97a
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
and dword [esp + 0x58], 0
lea ecx, [esp + 0x50]
mov edx, ebx
call fcn.0040f8e6
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov esi, ebx
add ebx, ebx
xor edx, edx
and esi, 0x7fffffff
mov dword [esp + 0xc], ecx
add ecx, eax
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x4424c0
mov al, byte [edi + edx*2]
add ebx, 0xfffffffe
mov byte [ecx + edx], al
inc edx
jmp 0x4424b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], 0x5c005c
mov dword [esp + 0x74], 0x5c002e
add eax, esi
mov esi, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov word [esp + 0x78], ax
mov dword [esp + 0x7a], 0x3a
push 0
push 0
push 3
pop eax
push eax
push 0
push eax
push 0
lea eax, [esp + 0x88]
push eax
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x4426f9
and dword [esp + 0x64], 0
and dword [esp + 0x60], 0
and dword [esp + 0x34], 0
and dword [esp + 0x30], 0
mov edi, eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceExW
test eax, eax
je 0x44270d
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, ecx
or eax, edx
je 0x44270d
mov eax, dword [esp + 0x30]
mov dword [esp + 0xfc], 8
and dword [esp + 0x100], 0
and dword [esp + 0x94], 0
and dword [esp + 0x90], 0
and dword [esp + 0x98], 0
and dword [esp + 0x5c], 0
mov byte [esp + 0x104], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
push 0
lea eax, [esp + 0x60]
push eax
push 0xc
pop eax
mov dword [esp + 0x14], esi
mov esi, eax
push eax
lea eax, [esp + 0x9c]
push eax
push esi
lea eax, [esp + 0x110]
push eax
push 0x2d1400
push edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], edx
call sub.KERNEL32.DLL_DeviceIoControl
xor ebx, ebx
cmp byte [esp + 0x98], 0
setne bl
cmp dword [esp + 0x5c], esi
push 2
pop ecx
mov edx, dword [esp + 0x2c]
cmovne ebx, ecx
test eax, eax
cmove ebx, ecx
lea ecx, [esp + 0x60]
push dword [esp + 0x18]
call fcn.00435200
pop eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push dword [esp + 0xc]
call fcn.0044191c
pop eax
push 4
pop ecx
call fcn.00440ae2
movsd xmm0, qword [esp + 0x20]
lea esi, [esp + 0xe4]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
lea edx, [esp + 0x20]
mov ecx, esi
movsd qword [eax], xmm0
mov dword [esp + 0xe0], 4
push 3
call fcn.0044173e
pop eax
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x30]
mov dword [esi - 0x1c], eax
mov eax, dword [esp + 0x38]
movsd qword [esi - 0x24], xmm0
movsd qword [esi - 0x18], xmm1
mov dword [esi - 0x10], eax
or dword [esp + 0xbc], 0xffffffff
push 2
pop eax
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], ebx
sete byte [esp + 0xf0]
push edi
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [esp + 0x50]
call fcn.004100bb
lea ecx, [esp + 0x9c]
call fcn.004100bb
cmp ebx, 3
jne 0x442748
mov ebx, dword [esp + 4]
jmp 0x442737
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CloseHandle
mov dword [esp + 0xb8], 3
jmp 0x44271e
mov dword [esp + 0xb8], 3
push edi
call sub.KERNEL32.DLL_CloseHandle
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x50]
call fcn.004100bb
lea ecx, [esp + 0x9c]
call fcn.004100bb
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
inc ebx
jmp 0x4422ed
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], eax
push 0x14
pop ecx
lea edi, [esp + 0x160]
lea esi, [esp + 0xa8]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 4]
jne 0x4427ab
lea ecx, [esp + 0x150]
call fcn.0044101c
mov eax, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x40], eax
jmp 0x4427b1
mov ecx, dword [esp + 0x28]
mov esi, eax
imul edi, esi, 0x50
lea edx, [esp + 0x20]
mov dword [esp + 0x28], ecx
add edi, ecx
push 0x14
pop ecx
mov eax, esi
lea esi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
jmp 0x442742
push 0x14
pop ecx
push 4
pop edx
call fcn.00442dfd
mov ecx, dword [esp + 0x28]
lea ebx, [esp + 0x15c]
lea edi, [esp + 0x150]
lea esi, [esp + 0xac]
mov edx, edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
and dword [eax], 0
and dword [eax + 4], 0
and dword [ebx - 0xc], 0
and dword [ebx - 8], 0
and dword [ebx - 4], 0
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], 1
mov ecx, esi
push ebx
call fcn.00442a6d
pop eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x48]
mov dword [esi - 4], eax
movsd xmm0, qword [esi + 4]
movsd qword [edi + 8], xmm0
movsd xmm0, qword [esi - 4]
movsd qword [edi], xmm0
mov eax, dword [edi + 0xc]
movsd xmm0, qword [edi + 4]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
jmp 0x442a12
call fcn.0041172e
mov eax, dword [eax]
mov dword [esp + 0x14], eax
call fcn.0041275b
test eax, eax
je 0x442974
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x4c]
mov eax, ebx
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0x150]
mov edx, dword [esp + 0xc]
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x30]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 4]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], eax
lea eax, [esp + 0x30]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edi
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 8]
mov dword [ebx + 0x40], esi
mov esi, dword [esp + 4]
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x50], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x54], edx
mov dword [ebx], esi
and dword [ebx + 0x58], 0
lea edx, [esp + 0xa8]
add ecx, 0x40
mov dword [edx], ebx
mov dword [edx + 4], 0x442cea
call fcn.0041253e
mov ecx, dword [ebx]
call fcn.00410adc
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
cmp eax, 1
jne 0x442a29
movsd xmm0, qword [esp + 0x1b4]
movsd xmm1, qword [esp + 0x1bc]
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm0
jmp 0x442976
mov esi, eax
test esi, esi
je 0x442a42
movsd xmm0, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x118]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xb8], xmm1
mov eax, dword [esp + 0xb0]
movsd xmm0, qword [esp + 0xa8]
mov ecx, dword [esp + 0xbc]
lea esi, [esp + 0x15c]
movsd xmm1, qword [esp + 0xb4]
lea edx, [esp + 0x150]
mov dword [esp + 0x118], ecx
mov dword [esi - 4], eax
movsd qword [esi - 0xc], xmm0
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x110], xmm1
movsd qword [esi], xmm1
push esi
call fcn.00442a6d
pop eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2b
pop edx
mov ecx, 0x44effc
push 0x44f070
jmp 0x442a3a
test eax, eax
jne 0x442a66
push 0x28
pop edx
mov ecx, 0x452428
push 0x452450
call fcn.00408b30
pop eax
ud2
lea eax, [esp + 0x150]
push 0x46
pop edx
mov ecx, 0x45263c
push 0x4526d4
push 0x452c2c
push eax
call fcn.004092f0
add esp, 0xc
ud2
call fcn.004102d0
ud2