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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676639
mov eax, dword fs:[0]
push eax
sub esp, 0xc9c
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00628ae0
add esp, 0xc
mov byte [ebp - 0xc85], 0
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xc90], esi
test esi, esi
je 0x46e7bf
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x46e7b8
cmp word [ebp - 0x220], 0
je 0x46e7b8
xor eax, eax
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xc58], 7
mov word [ebp - 0xc6c], ax
push 0x20a
push eax
mov dword [ebp - 0xc8c], eax
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 4], 1
call fcn.00628ae0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc3c], ax
lea eax, [ebp - 0xc3c]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x1fe
ja 0x46e7ad
mov eax, dword [0x6b7420]
lea edi, [ebp - 0xc3c]
movzx ecx, word [ebp - 0xc3c]
mov dword [ebp - 0x18], eax
mov ax, word [0x6b7424]
mov word [ebp - 0x14], ax
nop dword [eax]
push 0x104
lea eax, [ebp - 0x634]
mov word [ebp - 0x18], cx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46e602
lea esi, [ebp - 0x634]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46e520
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x46e602
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063de9b
add esp, 0xc
add esi, esi
test eax, eax
jne 0x46e568
cmp word [ebp + esi - 0x220], 0x5c
jne 0x46e568
lea ecx, [eax + 1]
jmp 0x46e56a
xor ecx, ecx
mov dword [ebp - 0xc8c], ecx
test ecx, ecx
je 0x46e610
lea eax, [ebp - 0x220]
add eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6b7428
lea eax, [ebp - 0x83c]
push 0x104
push eax
call fcn.00441140
lea ecx, [ebp - 0x83c]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e5a7
sub ecx, edx
lea eax, [ebp - 0x83c]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x42c]
push 0x105
push eax
call fcn.0063de41
lea ecx, [ebp - 0x42c]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e5e0
sub ecx, edx
lea eax, [ebp - 0x42c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc6c]
call fcn.00455ea0
mov ecx, dword [ebp - 0xc8c]
nop dword [eax + eax]
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x46e610
test ecx, ecx
jne 0x46e632
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x46e4f0
jmp 0x46e7a7
mov dword [ebp - 0xc44], 0
mov dword [ebp - 0xc40], 0xf
mov byte [ebp - 0xc54], 0
cmp dword [ebp - 0xc58], 8
lea edx, [ebp - 0xc6c]
mov eax, dword [ebp - 0xc5c]
lea edi, [ebp - 0xc6c]
cmovae edx, dword [ebp - 0xc6c]
lea ecx, [ebp - 0xc84]
cmovae edi, dword [ebp - 0xc6c]
mov byte [ebp - 4], 2
mov dword [ebp - 0xc74], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0xc70], 0xf
mov dword [ebp - 0xc8c], eax
sub eax, edi
sar eax, 1
push eax
mov byte [ebp - 0xc84], 0
call fcn.004642b0
push dword [ebp - 0xc90]
lea ecx, [ebp - 0xc84]
push dword [ebp - 0xc8c]
push edi
call fcn.0045c360
mov ecx, dword [ebp - 0xc70]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc40], ecx
jae 0x46e7ef
movups xmm0, xmmword [ebp - 0xc84]
movq xmm1, qword [ebp - 0xc44]
movups xmm2, xmmword [ebp - 0xc54]
movq qword [ebp - 0xc98], xmm1
mov edx, dword [ebp - 0xc94]
movups xmmword [ebp - 0xc54], xmm0
movq xmm0, qword [ebp - 0xc74]
movq qword [ebp - 0xc44], xmm0
movq qword [ebp - 0xc74], xmm1
movups xmmword [ebp - 0xca8], xmm2
movups xmmword [ebp - 0xc84], xmm2
cmp edx, 0x10
jb 0x46e75f
mov ecx, dword [ebp - 0xca8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46e755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e87a
push edx
push ecx
call fcn.006129d7
add esp, 8
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc54]
cmp dword [ebp - 0xc40], 0x10
push ecx
cmovae eax, dword [ebp - 0xc54]
push dword [ebp - 0xc44]
push eax
call fcn.004568a0
add esp, 0x10
lea ecx, [ebp - 0xc54]
mov esi, eax
call fcn.00440270
test esi, esi
sete byte [ebp - 0xc85]
mov esi, dword [ebp - 0xc90]
lea ecx, [ebp - 0xc6c]
call fcn.00440180
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x46e854
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46e84a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e875
jmp 0x46e84a
push dword [ebp - 0xc74]
cmp ecx, 0x10
lea eax, [ebp - 0xc84]
lea ecx, [ebp - 0xc54]
cmovae eax, dword [ebp - 0xc84]
push eax
call fcn.00455da0
mov edx, dword [ebp - 0xc70]
cmp edx, 0x10
jb 0x46e75f
mov ecx, dword [ebp - 0xc84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46e755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e87a
jmp 0x46e755
push edx
push ecx
call fcn.006129d7
add esp, 8
mov al, byte [ebp - 0xc85]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
call fcn.006321a4
call fcn.006321a4
int3