Function at 0x41e600
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa6c], ecx
push 0x5f7548
mov ecx, dword [ebp + 0xc]
call fcn.00404f00
push 0x20a
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ac380
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x41e65c
xor al, al
jmp 0x41e92f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0
jne 0x41e67c
xor al, al
jmp 0x41e92f
mov eax, dword [ebp - 0xa34]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1fd
add esp, 4
mov dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0xa44]
mov dword [ebp - 0xa40], eax
mov ecx, dword [ebp - 0xa34]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xa40]
push edx
call fcn.004ac380
add esp, 0xc
mov eax, dword [ebp - 0xa40]
push eax
mov ecx, dword [ebp - 0xa34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0
jne 0x41e710
mov edx, dword [ebp - 0xa40]
mov dword [ebp - 0xa48], edx
mov eax, dword [ebp - 0xa48]
push eax
call fcn.0043c206
add esp, 4
xor al, al
jmp 0x41e92f
mov ecx, dword [0x5f754c]
mov dword [ebp - 0xc], ecx
mov dx, word [0x5f7550]
mov word [ebp - 8], dx
push 0x208
call fcn.0043c1fd
add esp, 4
mov dword [ebp - 0xa4c], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0xa38], eax
mov ecx, dword [ebp - 0xa40]
mov dword [ebp - 0xa3c], ecx
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp - 0xa3c]
mov dx, word [ecx]
mov word [ebp + eax - 0xc], dx
push 0x104
mov eax, dword [ebp - 0xa38]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0
jne 0x41e81c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41e79e
jmp 0x41e8f7
mov edx, dword [ebp - 0xa38]
mov dword [ebp - 0xa50], edx
mov eax, dword [ebp - 0xa50]
push eax
call fcn.0043c206
add esp, 4
mov eax, dword [ebp - 0xa34]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1fd
add esp, 4
mov dword [ebp - 0xa54], eax
mov eax, dword [ebp - 0xa54]
mov dword [ebp - 0xa38], eax
mov ecx, dword [ebp - 0xa34]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xa38]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0
jne 0x41e81c
jmp 0x41e8f7
mov ecx, dword [ebp - 0xa38]
push ecx
call fcn.004afdb1
add esp, 4
mov dword [ebp - 0xa34], eax
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ebp - 0xa38]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.004affc4
add esp, 0xc
test eax, eax
jne 0x41e8bd
mov edx, dword [ebp - 0xa34]
lea eax, [ebp + edx*2 - 0x218]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x5f7554
push 0x400
lea edx, [ebp - 0xa18]
push edx
call fcn.0041ec70
add esp, 0x14
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa58], eax
mov ecx, dword [ebp - 0xa58]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.00404a20
mov dword [ebp - 0xa5c], eax
mov edx, dword [ebp - 0xa5c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404da0
lea ecx, [ebp - 0xa30]
call fcn.00404b90
jmp 0x41e8f7
mov eax, dword [ebp - 0xa3c]
movzx ecx, word [eax]
mov dword [ebp - 0xa60], ecx
mov edx, dword [ebp - 0xa3c]
add edx, 2
mov dword [ebp - 0xa3c], edx
cmp dword [ebp - 0xa60], 0
je 0x41e8e6
jmp 0x41e8bd
mov eax, dword [ebp - 0xa3c]
movzx ecx, word [eax]
test ecx, ecx
jne 0x41e74f
mov edx, dword [ebp - 0xa40]
mov dword [ebp - 0xa64], edx
mov eax, dword [ebp - 0xa64]
push eax
call fcn.0043c206
add esp, 4
mov ecx, dword [ebp - 0xa38]
mov dword [ebp - 0xa68], ecx
mov edx, dword [ebp - 0xa68]
push edx
call fcn.0043c206
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret 8