Function at 0x41f990
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44dfec
mov eax, dword fs:[0]
push eax
mov eax, 0x34f8
call fcn.00447d40
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x34f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x350c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x351c]
xor ebx, ebx
push 0xfff
lea ecx, [esp + 0x509]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x510], bl
call fcn.0043fbd0
add esp, 0xc
call fcn.004354c0
test eax, eax
je 0x41fa0c
call fcn.00418100
call fcn.004308a0
call fcn.00435460
lea edx, [esp + 0x504]
push edx
push 0x1000
mov dword [esp + 0x351c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x41fb82
cmp eax, 0x1000
ja 0x41fb82
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea esi, [esp + 0x504]
push esi
call ebp
cmp eax, 3
jne 0x41fac4
push 0xfff
lea eax, [esp + 0x2509]
push ebx
push eax
mov byte [esp + 0x2510], bl
call fcn.0043fbd0
add esp, 0xc
push 0xfff
lea ecx, [esp + 0x1509]
push ebx
push ecx
mov byte [esp + 0x1510], bl
call fcn.0043fbd0
add esp, 0xc
push 0x1000
lea edx, [esp + 0x1508]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push 0x1000
lea ecx, [esp + 0x251c]
push ecx
push esi
mov dword [esp + 0x34], ebx
call edi
cmp eax, 1
je 0x41fb23
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fad0
sub eax, edx
lea esi, [esi + eax + 1]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fae2
sub eax, edx
jne 0x41fa55
lea ebp, [eax + 0x10]
lea ecx, [esp + 0x38]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], esp
cmp eax, ebp
jb 0x41fcac
mov ecx, dword [edi]
jmp 0x41fcae
push 0x3ff
lea edx, [esp + 0x109]
push ebx
push edx
mov byte [esp + 0x110], bl
call fcn.0043fbd0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0xa
push 0x400
lea eax, [esp + 0x10c]
push eax
push ecx
call fcn.0043b0b3
mov esi, dword [esp + 0x28]
add esp, 0x10
lea edx, [esp + 0x104]
push edx
lea ecx, [esi + 0x1d8]
call fcn.00402c00
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1d4], eax
jmp 0x41fdd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x20]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov ebp, 0x10
mov dword [esp + 0x38], esp
cmp eax, ebp
jb 0x41fbb6
mov ecx, dword [edi]
jmp 0x41fbb8
mov ecx, edi
cmp ecx, str.0WRUH
ja 0x41fbf1
cmp eax, ebp
jb 0x41fbc8
mov ecx, dword [edi]
jmp 0x41fbca
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str.0WRUH
jbe 0x41fbf1
cmp eax, ebp
jb 0x41fbdd
mov edi, dword [edi]
push 0x25
mov eax, str.0WRUH
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d80
jmp 0x41fc32
cmp eax, 0x25
jae 0x41fc03
mov ecx, dword [esi + 0x14]
push ecx
push 0x25
mov ecx, esi
call fcn.004034b0
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41fc0e
mov eax, dword [edi]
jmp 0x41fc10
mov eax, edi
push 0x25
push str.0WRUH
push ecx
push eax
call fcn.00439429
add esp, 0x10
mov dword [esi + 0x14], 0x25
cmp dword [esi + 0x18], ebp
jb 0x41fc2f
mov edi, dword [edi]
mov byte [edi + 0x25], bl
lea esi, [esp + 0x78]
call fcn.004016b0
mov dword [esp + 0x351c], 2
call fcn.00401ad0
mov byte [esp + 0x3518], 3
cmp dword [eax + 0x18], ebp
jb 0x41fc5d
mov eax, dword [eax + 4]
jmp 0x41fc60
add eax, 4
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
call fcn.0041d220
add esp, 0x10
cmp dword [esp + 0x34], ebp
jb 0x41fc83
mov eax, dword [esp + 0x20]
push eax
call fcn.004393c9
add esp, 4
lea esi, [esp + 0x54]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x3514], 0xffffffff
call fcn.00429e20
jmp 0x41faf4
mov ecx, edi
cmp ecx, 0x456e10
ja 0x41fce7
cmp eax, ebp
jb 0x41fcbe
mov ecx, dword [edi]
jmp 0x41fcc0
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456e10
jbe 0x41fce7
cmp eax, ebp
jb 0x41fcd3
mov edi, dword [edi]
push 0x19
mov eax, 0x456e10
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d80
jmp 0x41fd28
cmp eax, 0x19
jae 0x41fcf9
mov ecx, dword [esi + 0x14]
push ecx
push 0x19
mov ecx, esi
call fcn.004034b0
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41fd04
mov eax, dword [edi]
jmp 0x41fd06
mov eax, edi
push 0x19
push 0x456e10
push ecx
push eax
call fcn.00439429
add esp, 0x10
mov dword [esi + 0x14], 0x19
cmp dword [esi + 0x18], ebp
jb 0x41fd25
mov edi, dword [edi]
mov byte [edi + 0x19], bl
lea esi, [esp + 0xcc]
call fcn.004016b0
mov dword [esp + 0x3518], 6
call fcn.00401ad0
mov byte [esp + 0x3514], 7
cmp dword [eax + 0x18], ebp
jb 0x41fd56
mov eax, dword [eax + 4]
jmp 0x41fd59
add eax, 4
mov edi, dword [esp + 0x18]
push eax
push 1
push edi
call fcn.0041d220
add esp, 0xc
cmp dword [esp + 0x50], ebp
jb 0x41fd7c
mov edx, dword [esp + 0x3c]
push edx
call fcn.004393c9
add esp, 4
lea esi, [esp + 0xac]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x3514], 0xffffffff
call fcn.00429e20
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1f8]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00402d80
call fcn.004175f0
test eax, eax
je 0x41fdcb
call fcn.00418580
call fcn.00436210
mov ecx, dword [edi + 0x1f4]
mov dword [edi + 0x1d4], ecx
xor eax, eax
mov ecx, dword [esp + 0x350c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34f0]
xor ecx, esp
call fcn.00438dc1
add esp, 0x3504
ret 4