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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7678
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0
push 0x5ee295
mov dword [ebp - 0x214], eax
mov esi, edx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 4], 0
call fcn.004049e0
push 0x105
lea ecx, [ebp - 0x11c]
push 0
push ecx
call fcn.0058c670
add esp, 0xc
push 0x105
lea edx, [ebp - 0x11c]
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
test eax, eax
je 0x426c07
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
test edi, edi
je 0x426c07
lea ebx, [edi + 1]
push ebx
call fcn.0047f7f0
add esp, 4
push ebx
mov esi, eax
push 0
push esi
mov dword [ebp - 0x210], esi
call fcn.0058c670
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x426c25
push esi
call fcn.0047f7fb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 4
mov ax, word [0x5f0170]
mov cl, byte [0x5f0172]
push 0x104
mov word [ebp - 0x208], ax
mov byte [ebp - 0x206], cl
call fcn.0047f7f0
mov edi, eax
add esp, 4
mov dword [ebp - 0x20c], edi
mov dl, byte [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0x104
push edi
lea eax, [ebp - 0x208]
push eax
mov byte [ebp - 0x208], dl
call ebx
test eax, eax
jne 0x426cb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x426dfb
push edi
call fcn.0047f7fb
push 1
call fcn.0047f7f0
add esp, 8
push 1
push eax
lea ecx, [ebp - 0x208]
push ecx
mov dword [ebp - 0x20c], eax
call ebx
mov edi, dword [ebp - 0x20c]
test eax, eax
je 0x426dfb
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426cb8
sub eax, edx
mov ebx, eax
push ebx
lea edx, [ebp - 0x11c]
push edi
push edx
call fcn.005895f7
add esp, 0xc
test eax, eax
jne 0x426e15
lea ebx, [ebp + ebx - 0x11c]
mov edi, 0xf
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], esi
mov byte [ebp - 0x154], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d02
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x154]
call fcn.004049e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x208]
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d38
sub eax, edx
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x138]
call fcn.004049e0
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x138]
lea ebx, [ebp - 0x170]
mov byte [ebp - 4], 2
call fcn.0040a820
mov esi, dword [ebp - 0x218]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00404560
mov esi, 0x10
cmp dword [ebp - 0x15c], esi
jb 0x426d9c
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0047f7fb
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
cmp dword [ebp - 0x124], esi
jb 0x426dcc
mov edx, dword [ebp - 0x138]
push edx
call fcn.0047f7fb
add esp, 4
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
cmp dword [ebp - 0x140], esi
jb 0x426df5
mov eax, dword [ebp - 0x154]
push eax
call fcn.0047f7fb
add esp, 4
mov edi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
push edx
call fcn.0047f7fb
push edi
call fcn.0047f7fb
add esp, 8
jmp 0x426c07
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x426e15
cmp byte [esi], cl
jne 0x426c53
jmp 0x426dfb