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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b9a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x76a02c]
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 edi, edx
mov eax, ecx
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x848], eax
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x451a3f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x844], esi
push edi
xor ebx, ebx
mov dword [ebp - 4], 0
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x848], eax
test eax, eax
jne 0x45181d
add esi, 0xfffffff0
push esi
call fcn.00428ba0
mov edi, dword [ebp - 0x84c]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451a21
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x451a21
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00530310
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00530310
mov eax, dword [0x747094]
lea edi, [ebp - 0x430]
add esp, 0x18
mov dword [ebp - 0x18], eax
mov ax, word [0x747098]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x224]
push 0x104
push eax
push dword [ebp - 0x848]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4519e2
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451887
sub ecx, edx
sar ecx, 1
je 0x4519e2
lea eax, [ebp - 0x430]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4519e2
movzx ecx, word [ebp - 0x430]
nop dword [eax]
push 0x104
lea eax, [ebp - 0x638]
mov word [ebp - 0x18], cx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x451976
lea esi, [ebp - 0x638]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4518f0
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x451976
push esi
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00534019
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x451976
lea eax, [ebp - 0x224]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x840]
push str._s_s
push eax
call fcn.00432ad0
lea ecx, [ebp - 0x840]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451954
sub ecx, edx
lea eax, [ebp - 0x840]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x844]
call fcn.00429270
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x451976
test ebx, ebx
jne 0x451993
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x4518c0
mov esi, dword [ebp - 0x844]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x451a49
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4519c7
push edi
lea ecx, [ebp - 0x844]
call fcn.0041f730
mov esi, dword [ebp - 0x844]
lea eax, [edi + 1]
push eax
push esi
call fcn.005343c5
add esp, 8
cmp edi, dword [esi - 8]
jg 0x451a49
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
push esi
call fcn.00428ba0
mov edi, dword [ebp - 0x84c]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451a21
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.00468d3e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004222a0
push 0x80070057
call fcn.004222a0
int3