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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410133
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x41700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x660], ebx
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x62c], 0
call fcn.00401a90
mov dword [ebp - 4], 1
test edx, edx
jne 0x401224
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x401232
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x401276
mov edx, dword [ebp - 0x64c]
test edx, edx
jne 0x401254
cmp dword [ebp - 0x634], eax
mov edx, 0x412b70
cmovne edx, dword [ebp - 0x63c]
mov ecx, ebx
call fcn.00401a90
mov byte [ebp - 4], 2
mov ecx, ebx
push edx
mov dword [ebx], vtable.CWString.0
call fcn.0040edb0
mov byte [ebp - 4], 1
jmp 0x401462
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x4012d8
mov edx, dword [ebp - 0x64c]
test edx, edx
jne 0x4012c8
cmp dword [ebp - 0x634], esi
mov edx, 0x412b70
cmovne edx, dword [ebp - 0x63c]
mov ecx, ebx
call fcn.00401a90
mov byte [ebp - 4], 3
jmp 0x401450
mov eax, dword [0x41236c]
mov dword [ebp - 0x218], eax
mov ax, word [0x412370]
push 0x202
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
xor edi, edi
nop dword [eax + eax]
lea eax, [edi + 0x41]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea esi, [ebp - 0x420]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x401350
sub esi, ecx
sar esi, 1
je 0x40137d
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x401388
inc edi
cmp edi, 0x1a
jl 0x401320
jmp 0x401428
lea edx, [ebp - 0x628]
lea edx, [edx + esi*2]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401393
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4013b0
mov eax, dword [ebp - 0x63c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x64c], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
je 0x4013ee
push eax
mov eax, dword [ebp - 0x648]
lea ecx, [ebp - 0x648]
call dword [eax + 0xc]
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x638], 0
je 0x401428
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x648]
call fcn.0040db50
mov edx, dword [ebp - 0x64c]
test edx, edx
jne 0x401445
cmp dword [ebp - 0x634], 0
mov edx, 0x412b70
cmovne edx, dword [ebp - 0x63c]
mov ecx, ebx
call fcn.00401a90
mov byte [ebp - 4], 4
push edx
mov ecx, ebx
mov dword [ebx], vtable.CWString.0
call fcn.0040edb0
mov byte [ebp - 4], 1
mov dword [ebp - 0x62c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x658]
call fcn.00401780
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f190
mov esp, ebp
pop ebp
ret