Function at 0x420ad0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ac
push ebx
push esi
push edi
mov ecx, 0x59
xor eax, eax
lea edi, [ebp - 0x443]
mov byte [ebp - 0x444], 0
mov byte [ebp - 0x5ac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x59
xor eax, eax
lea edi, [ebp - 0x5ab]
mov byte [ebp - 0x174], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x59
xor eax, eax
lea edi, [ebp - 0x173]
mov esi, dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x59
lea edi, [ebp - 0x2db]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov byte [ebp - 0x2dc], al
push 0x3a
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
mov ebx, 4
stosb byte es:[edi], al
call fcn.00422510
add esp, 8
test eax, eax
jne 0x420b7e
cmp byte [esi], 0x5c
jne 0x420b6a
cmp byte [esi + 1], 0x5c
je 0x420b7e
lea eax, [ebp - 0x2dc]
push eax
push 0x168
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x420b9a
push 0x167
lea ecx, [ebp - 0x2dc]
push esi
push ecx
call fcn.00421320
add esp, 0xc
mov byte [ebp - 0x175], 0
lea edx, [ebp - 0x2dc]
lea eax, [ebp - 0x444]
push edx
push eax
call fcn.0041d540
mov edi, 0x43045c
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x444]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x174]
and ecx, 3
push 0x168
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 8]
push eax
lea edx, [ebp - 4]
push ecx
lea eax, [ebp - 0xc]
push edx
push eax
lea ecx, [ebp - 0x5ac]
push 0x168
lea edx, [ebp - 0x444]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x420e71
mov esi, str.NTFS
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420c4c
test cl, cl
je 0x420c48
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420c4c
add eax, 2
add esi, 2
test cl, cl
jne 0x420c24
xor eax, eax
jmp 0x420c51
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x420c61
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.NWCompat
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420c94
test cl, cl
je 0x420c90
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420c94
add eax, 2
add esi, 2
test cl, cl
jne 0x420c6c
xor eax, eax
jmp 0x420c99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, str.NWFS
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420cd4
test cl, cl
je 0x420cd0
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420cd4
add eax, 2
add esi, 2
test cl, cl
jne 0x420cac
xor eax, eax
jmp 0x420cd9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, 0x4313e0
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420d14
test cl, cl
je 0x420d10
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420d14
add eax, 2
add esi, 2
test cl, cl
jne 0x420cec
xor eax, eax
jmp 0x420d19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, str.FTAM
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420d54
test cl, cl
je 0x420d50
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420d54
add eax, 2
add esi, 2
test cl, cl
jne 0x420d2c
xor eax, eax
jmp 0x420d59
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, 0x4313d4
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420d94
test cl, cl
je 0x420d90
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420d94
add eax, 2
add esi, 2
test cl, cl
jne 0x420d6c
xor eax, eax
jmp 0x420d99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, 0x4313d0
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420dd4
test cl, cl
je 0x420dd0
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420dd4
add eax, 2
add esi, 2
test cl, cl
jne 0x420dac
xor eax, eax
jmp 0x420dd9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, str.LONG
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420e14
test cl, cl
je 0x420e10
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420e14
add eax, 2
add esi, 2
test cl, cl
jne 0x420dec
xor eax, eax
jmp 0x420e19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
mov esi, 0x4313c4
lea eax, [ebp - 0x174]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420e50
test cl, cl
je 0x420e4c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420e50
add eax, 2
add esi, 2
test cl, cl
jne 0x420e28
xor eax, eax
jmp 0x420e55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e65
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret