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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa6c], ecx
push 0x5629f4
mov ecx, dword [ebp + 0xc]
call fcn.00419610
push 0x20a
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00485370
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 0x43760c
xor al, al
jmp 0x4378df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0
jne 0x43762c
xor al, al
jmp 0x4378df
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.00464ea6
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.00485370
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 0x4376c0
mov edx, dword [ebp - 0xa40]
mov dword [ebp - 0xa48], edx
mov eax, dword [ebp - 0xa48]
push eax
call fcn.00464eaf
add esp, 4
xor al, al
jmp 0x4378df
mov ecx, dword [0x5629f8]
mov dword [ebp - 0xc], ecx
mov dx, word [0x5629fc]
mov word [ebp - 8], dx
push 0x208
call fcn.00464ea6
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 0x4377cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x43774e
jmp 0x4378a7
mov edx, dword [ebp - 0xa38]
mov dword [ebp - 0xa50], edx
mov eax, dword [ebp - 0xa50]
push eax
call fcn.00464eaf
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.00464ea6
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 0x4377cc
jmp 0x4378a7
mov ecx, dword [ebp - 0xa38]
push ecx
call fcn.00488e51
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.0048f290
add esp, 0xc
test eax, eax
jne 0x43786d
mov edx, dword [ebp - 0xa34]
lea eax, [ebp + edx*2 - 0x218]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x562a00
push 0x400
lea edx, [ebp - 0xa18]
push edx
call fcn.00437ca0
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.00419540
mov dword [ebp - 0xa5c], eax
mov edx, dword [ebp - 0xa5c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041b4a0
lea ecx, [ebp - 0xa30]
call fcn.004195b0
jmp 0x4378a7
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 0x437896
jmp 0x43786d
mov eax, dword [ebp - 0xa3c]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4376ff
mov edx, dword [ebp - 0xa40]
mov dword [ebp - 0xa64], edx
mov eax, dword [ebp - 0xa64]
push eax
call fcn.00464eaf
add esp, 4
mov ecx, dword [ebp - 0xa38]
mov dword [ebp - 0xa68], ecx
mov edx, dword [ebp - 0xa68]
push edx
call fcn.00464eaf
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 8