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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bf99
mov eax, dword fs:[0]
push eax
sub esp, 0xc9c
mov eax, dword [0x7851cc]
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.0063d140
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 0x47cc3f
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x47cc38
cmp word [ebp - 0x220], 0
je 0x47cc38
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.0063d140
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 0x47cc2d
mov eax, dword [0x6d6f0c]
lea edi, [ebp - 0xc3c]
movzx ecx, word [ebp - 0xc3c]
mov dword [ebp - 0x18], eax
mov ax, word [0x6d6f10]
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 0x47ca82
lea esi, [ebp - 0x634]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47c9a0
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x47ca82
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00653265
add esp, 0xc
add esi, esi
test eax, eax
jne 0x47c9e8
cmp word [ebp + esi - 0x220], 0x5c
jne 0x47c9e8
lea ecx, [eax + 1]
jmp 0x47c9ea
xor ecx, ecx
mov dword [ebp - 0xc8c], ecx
test ecx, ecx
je 0x47ca90
lea eax, [ebp - 0x220]
add eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6d6f14
lea eax, [ebp - 0x83c]
push 0x104
push eax
call fcn.004493e0
lea ecx, [ebp - 0x83c]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ca27
sub ecx, edx
lea eax, [ebp - 0x83c]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x42c]
push 0x105
push eax
call fcn.0065320b
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 0x47ca60
sub ecx, edx
lea eax, [ebp - 0x42c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc6c]
call fcn.0045e220
mov ecx, dword [ebp - 0xc8c]
nop dword [eax + eax]
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x47ca90
test ecx, ecx
jne 0x47cab2
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x47c970
jmp 0x47cc27
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.0046d770
push dword [ebp - 0xc90]
lea ecx, [ebp - 0xc84]
push dword [ebp - 0xc8c]
push edi
call fcn.0045da50
mov ecx, dword [ebp - 0xc70]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc40], ecx
jae 0x47cc6f
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 0x47cbdf
mov ecx, dword [ebp - 0xca8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47cbd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ccfa
push edx
push ecx
call fcn.0062706d
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.0045ef00
add esp, 0x10
lea ecx, [ebp - 0xc54]
mov esi, eax
call fcn.00448510
test esi, esi
sete byte [ebp - 0xc85]
mov esi, dword [ebp - 0xc90]
lea ecx, [ebp - 0xc6c]
call fcn.00448420
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x47ccd4
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47ccca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ccf5
jmp 0x47ccca
push dword [ebp - 0xc74]
cmp ecx, 0x10
lea eax, [ebp - 0xc84]
lea ecx, [ebp - 0xc54]
cmovae eax, dword [ebp - 0xc84]
push eax
call fcn.0045e120
mov edx, dword [ebp - 0xc70]
cmp edx, 0x10
jb 0x47cbdf
mov ecx, dword [ebp - 0xc84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47cbd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ccfa
jmp 0x47cbd5
push edx
push ecx
call fcn.0062706d
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.0062702c
mov esp, ebp
pop ebp
ret
call fcn.00646804
call fcn.00646804
int3