Function at 0x41ee80
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size

Disassembly:
push 0x854
mov eax, 0x444da8
call fcn.00443f18
mov esi, ecx
mov eax, dword [ebp + 0xc]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x7cc], esi
mov dword [ebp - 0x7e0], eax
mov dword [ebp - 0x7d0], eax
push 0xdc
push 9
pop ebx
push ebx
push 0x67b
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
xor eax, eax
lea ecx, [ebp - 0x83c]
push eax
mov dword [ebp - 0x7c4], eax
call fcn.00441304
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test eax, eax
jne 0x41eef2
mov eax, 0x407a18
push eax
push ecx
push 0x407a4c
lea eax, [ebp - 0x7dc]
push eax
push esi
call fcn.004279d2
add esp, 0x14
lea eax, [ebp - 0x83c]
or edi, 0xffffffff
push 0x407a70
push eax
mov dword [ebp - 0x7c0], edi
call fcn.00441fad
pop ecx
mov al, 1
mov byte [ebp - 4], 2
pop ecx
mov byte [ebp - 0x7a9], al
push 0x105
test al, al
je 0x41ef62
xor eax, eax
mov byte [ebp - 0x7a9], al
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov edi, eax
mov dword [ebp - 0x7c0], edi
cmp edi, 0xffffffff
je 0x41f649
jmp 0x41efa4
lea eax, [ebp - 0x2cc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x41efa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41ef8a
mov ebx, dword [ebp - 0x7e0]
jmp 0x41f55a
push 0x407b00
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x6a0
jmp 0x41f65e
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x770]
call fcn.00428c5f
mov byte [ebp - 4], 3
cmp dword [ebp - 0x758], 8
mov eax, dword [ebp - 0x76c]
jae 0x41efcf
lea eax, [ebp - 0x76c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x41effa
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 1
lea ecx, [ebp - 0x770]
call fcn.00429325
mov al, byte [ebp - 0x7a9]
jmp 0x41ef31
lea ecx, [ebp - 0x2cc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x7c4]
jne 0x41f003
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x20a
jae 0x41f701
xor eax, eax
mov word [ebp + ecx - 0x2cc], ax
lea eax, [ebp - 0x524]
push 0xc8
push eax
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41efdb
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x407b24
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x6b6
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x83c]
push eax
call fcn.00441c0c
add esp, 0x68
lea eax, [ebp - 0x394]
push 0x64
push eax
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x41f0c3
push 0x405990
push 0x64
pop edx
lea ecx, [ebp - 0x394]
call fcn.004179f8
cmp dword [ebp - 0x758], 8
mov eax, dword [ebp - 0x76c]
jae 0x41f0d8
lea eax, [ebp - 0x76c]
lea ecx, [ebp - 0x7fc]
push ecx
lea ecx, [ebp - 0x7f4]
push ecx
lea ecx, [ebp - 0x7ec]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41f67e
xor eax, eax
mov dword [ebp - 0xbc], 0x410052
push 0x98
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb8], 0x57
push eax
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x758], 8
mov dword [ebp - 0x7bc], eax
mov eax, dword [ebp - 0x76c]
jae 0x41f144
lea eax, [ebp - 0x76c]
push 0x50
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x7bc]
push ecx
lea ecx, [ebp - 0x7c8]
push ecx
lea ecx, [ebp - 0x7d4]
push ecx
push 0x50
lea ecx, [ebp - 0x5c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x41f1ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x758], 8
mov eax, dword [ebp - 0x76c]
jae 0x41f191
lea eax, [ebp - 0x76c]
push eax
push 0x407b80
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x6d8
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x83c]
push eax
call fcn.00441c0c
add esp, 0x64
lea eax, [ebp - 0x524]
push eax
push 0x406ad0
lea eax, [ebp - 0x754]
push 0xc8
push eax
call fcn.00417966
add esp, 0x10
mov dword [ebp - 0x834], eax
test eax, eax
lea eax, [ebp - 0x524]
js 0x41f6bf
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.00428c5f
lea eax, [ebp - 0x7a8]
mov ecx, esi
push eax
call fcn.00425cfd
mov byte [ebp - 4], 4
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 8
jb 0x41f226
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x78c]
call fcn.00428c5f
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 1
lea ecx, [ebp - 0x7a8]
call fcn.00429325
cmp dword [ebp - 0x774], 8
mov eax, dword [ebp - 0x788]
jae 0x41f25b
lea eax, [ebp - 0x788]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x407774
push 2
push 0x407764
lea eax, [ebp - 0x7b8]
push eax
push esi
call fcn.004279d2
add esp, 0x1c
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 7
push eax
push 0x407bb4
lea ecx, [ebp - 0x7b8]
call fcn.00419156
cmp dword [ebp - 0x774], 8
mov eax, dword [ebp - 0x788]
jae 0x41f2af
lea eax, [ebp - 0x788]
push eax
push 0x407bd0
lea ecx, [ebp - 0x7b8]
call fcn.00419156
lea eax, [ebp - 0x2cc]
push eax
push 0x407bf8
lea ecx, [ebp - 0x7b8]
call fcn.00419156
lea eax, [ebp - 0x394]
push eax
push 0x407c10
lea ecx, [ebp - 0x7b8]
call fcn.00419156
xor eax, eax
push eax
push 0x100000
push dword [ebp - 0x7e8]
push dword [ebp - 0x7ec]
call fcn.00444370
push edx
push eax
push 0x405e18
push 0x407c34
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x1c
xor eax, eax
push eax
push 0x100000
push dword [ebp - 0x7f0]
push dword [ebp - 0x7f4]
call fcn.00444370
push edx
push eax
push 0x405e18
push 0x407c68
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x1c
xor eax, eax
push eax
push 0x100000
push dword [ebp - 0x7f8]
push dword [ebp - 0x7fc]
call fcn.00444370
push edx
push eax
push 0x405e18
push 0x407c9c
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x1c
lea eax, [ebp - 0x5c4]
lea ecx, [ebp - 0x7b8]
push eax
push 0x407cd8
call fcn.00419156
push dword [ebp - 0x7d4]
push 0x4055a0
push 0x407cf4
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x18
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x7b8]
push eax
push 0x407d1c
call fcn.00419156
test dword [ebp - 0x7bc], 0x80000
mov eax, 0x40ccc4
jne 0x41f415
mov eax, 0x40ccb8
push eax
push dword [ebp - 0x7bc]
lea eax, [ebp - 0x7b8]
push 0x407d3c
push 0x407d6c
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x1c
lea eax, [ebp - 0x7b8]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
lea eax, [ebp - 0x754]
mov ecx, esi
push eax
call fcn.004208e1
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
cmp dword [ebp - 0x758], 8
mov eax, dword [ebp - 0x76c]
jae 0x41f482
lea eax, [ebp - 0x76c]
push eax
mov ecx, esi
call fcn.0041f73c
mov dword [ebp - 0x834], eax
test eax, eax
jns 0x41f4b8
push eax
push 0x4055a0
push 0x407d90
push ecx
push ecx
lea eax, [ebp - 0x7b8]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x18
lea eax, [ebp - 0x7b8]
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x7dc]
call fcn.00419a59
lea ecx, [ebp - 0x848]
call fcn.00419d7f
lea ecx, [ebp - 0x7b8]
call fcn.00419d7f
xor eax, eax
lea ecx, [ebp - 0x78c]
push eax
push 1
call fcn.00429325
jmp 0x41efdb
mov dword [ebp - 4], 1
cmp edi, 0xffffffff
je 0x41f56d
push edi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [ebp - 0x834], 0
jge 0x41f59f
push dword [ebp - 0x834]
lea eax, [ebp - 0x7dc]
push 0x4056cc
push 0x407dc8
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
add esp, 0x18
lea eax, [ebp - 0x7dc]
test ebx, ebx
jne 0x41f624
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
mov ecx, esi
call fcn.00427b26
jmp 0x41f62b
push eax
push ebx
call fcn.00433199
lea ecx, [ebp - 0x7dc]
call fcn.00419d7f
lea ecx, [ebp - 0x83c]
call fcn.004413c9
call fcn.00443e6a
ret 8
push 0x407ad8
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x696
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x83c]
push eax
call fcn.004423d6
lea ecx, [ebp - 0x770]
call fcn.00428c2a
push eax
push 0x407b58
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x6c7
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x83c]
push eax
call fcn.004423d6
push eax
push 0x406af4
lea ecx, [ebp - 0x83c]
call fcn.00418c3e
push eax
sub esp, 0x58
mov ecx, esp
push 0xdc
push ebx
push 0x6df
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x83c]
push eax
call fcn.0044255f
call fcn.00443b31
push 9
pop ebx
sub esp, 0x58
mov byte [ebp - 4], bl
mov ecx, esp
push 0xdc
push ebx
push 0x6ff
push 0x4079d0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea ecx, [ebp - 0x83c]
call fcn.00441d17
int3