Function at 0x4dbc60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b2c7
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x204], 0
push 0x1f
push str.Old_Unloadable_Driver_Uninstall
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x200], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0044eca0
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 4], 0
call fcn.006791e0
push 0x11
xor eax, eax
mov byte [ebp - 4], 1
push str.cfcdrv_unloadable
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0044eb60
push 0
push 0xf003f
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00679b60
mov edx, dword [ebp - 0x30]
test al, al
mov byte [ebp - 4], 1
sete al
mov byte [ebp - 0x1f9], al
cmp edx, 8
jb 0x4dbd6d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4dbd5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc3a1
push edx
push ecx
call fcn.0048af59
mov al, byte [ebp - 0x1f9]
add esp, 8
test al, al
je 0x4dbe6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x4dbe53
push 0x409
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0047e430
add esp, 0xc
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
lea ecx, [esi + 0x17]
mov byte [ebp - 0x44], 0
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x204], 4
call fcn.00452bd0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0044edd0
push 0x17
push str.._Open_Service._Error:
lea ecx, [ebp - 0x44]
call fcn.0044edd0
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004560d0
add esp, 0xc
mov edx, dword [ebx]
mov ecx, ebx
push eax
mov byte [ebp - 4], 5
call dword [edx + 4]
lea ecx, [ebp - 0x74]
call fcn.0044da70
lea ecx, [ebp - 0x44]
call fcn.0044da70
lea ecx, [ebp - 0x5c]
call fcn.0044da70
lea ecx, [ebp - 0x1f8]
call fcn.00679450
lea ecx, [ebp - 0x2c]
call fcn.0044da70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1f8]
call fcn.00679450
lea ecx, [ebp - 0x2c]
call fcn.0044da70
mov al, 1
jmp 0x4dbe37
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 6
call fcn.00679f40
mov edi, dword [ebp - 0x208]
jmp 0x4dbecd
push 7
xor eax, eax
mov dword [ebp - 4], 1
push str.drivers
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.0044eb60
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.004cb080
add esp, 4
test al, al
je 0x4dbf2e
lea eax, [ebp - 0xbc]
push eax
call fcn.004cc710
add esp, 4
mov dword [ebp - 0x208], eax
mov byte [ebp - 4], 0xf
mov ebx, 1
jmp 0x4dbf4f
lea eax, [ebp - 0xd4]
push eax
call fcn.004cc840
add esp, 4
mov dword [ebp - 0x208], eax
mov dword [ebp - 4], 0x10
mov ebx, 2
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x204], ebx
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0044cf30
mov esi, eax
push dword [ebp - 0x208]
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 0x11
push eax
call fcn.0044cf30
push esi
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x12
push eax
call fcn.00456820
push str.cfcdrv_unloadable.sys
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x13
push eax
call fcn.0044f680
add esp, 0x28
lea ecx, [ebp - 0xec]
call fcn.0044d800
lea ecx, [ebp - 0x104]
call fcn.0044d800
lea ecx, [ebp - 0x11c]
call fcn.0044d800
test bl, 2
je 0x4dbfdf
lea ecx, [ebp - 0xd4]
and ebx, 0xfffffffd
call fcn.0044d800
test bl, 1
je 0x4dbff2
lea ecx, [ebp - 0xbc]
and ebx, 0xfffffffe
call fcn.0044d800
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
call fcn.0044d800
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4dc190
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0047d010
add esp, 4
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
push eax
call fcn.0047d4b0
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1e
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x7c]
or ebx, 0x18
add eax, 5
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x204], ebx
call fcn.00452ac0
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0044f170
push 5
push str..old_
lea ecx, [ebp - 0x44]
call fcn.0044f170
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00456820
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0044d800
lea ecx, [ebp - 0x74]
call fcn.0044d800
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x22
call fcn.0044da70
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004ce9c0
add esp, 8
lea ecx, [ebp - 0x2c4]
push 1
push 3
call fcn.0044dc80
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0044f2f0
add esp, 8
push str.._Rename_driver_file._New_name:
push eax
call fcn.0044f2f0
add esp, 8
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004808a0
add esp, 0xc
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x2c4]
push eax
call fcn.0044dbc0
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x24
push eax
call fcn.0045daf0
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x25
call dword [eax]
lea ecx, [ebp - 0x74]
call fcn.0044da70
lea ecx, [ebp - 0xa4]
call fcn.0044d800
lea ecx, [ebp - 0x2c4]
call fcn.0044d300
lea ecx, [ebp - 0x5c]
call fcn.0044d800
lea ecx, [ebp - 0x8c]
call fcn.0044d800
lea ecx, [ebp - 0x1f8]
call fcn.00679450
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4dc2b6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4dc2ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc3a6
jmp 0x4dc2ac
push edx
push ecx
call fcn.0048af59
add esp, 8
mov al, 1
jmp 0x4dbe37
call fcn.004aae7a
call fcn.004aae7a
int3