Function at 0x4285b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x477088
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
push str.CDeviceManager::CreateMDB
mov dword [esp + 0x178], 0
call fcn.004031a0
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x428629
mov ecx, dword [esp + 0x17c]
push ecx
push str.DeleteFile__s_
call fcn.004031a0
add esp, 8
mov eax, dword [0x48b2d8]
mov ecx, dword [0x48b2dc]
mov edx, 8
mov dword [esp + 0x140], eax
mov eax, dword [0x48b2e4]
mov word [esp + 0x158], dx
mov edx, dword [0x48b2e0]
mov dword [esp + 0x144], ecx
mov ecx, dword [0x48b2e8]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x148], edx
mov edx, dword [0x48b2ec]
mov dword [esp + 0x150], ecx
mov edi, 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x138], 0x3b
mov dword [esp + 0x13c], edi
mov dword [esp + 0x158], edx
call fcn.00423d90
mov eax, dword [eax]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x4286e0
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [0x48b2f8]
mov esi, dword [0x48b2fc]
mov eax, dword [0x48b2f0]
mov ecx, dword [0x48b2f4]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x10]
push edx
push 0x48b520
push 1
push 0
mov dword [esp + 0x140], esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ebx, [esp + 0x144]
push 0x482d48
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call esi
test eax, eax
jge 0x428774
push eax
push str.CreateDBCoCreateInstance_x
call fcn.004031a0
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x48b520
push 1
push 0
push 0x482d38
call esi
mov esi, eax
test esi, esi
jl 0x4287f4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x48b540
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4287d8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0x48b540
push 0
lea edx, [esp + 0x128]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
push esi
push str.pIDBDataSourceAdmin__CreateDataSource_x
call fcn.004031a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x428802
push esi
push str.pIDBInitialize__QueryInterface_x
call fcn.004031a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
jmp 0x428802
push esi
push str.CreateDBCoCreateInstance_x
call fcn.004031a0
add esp, 8
mov eax, dword [esp + 0x160]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x17c]
add eax, 0xfffffff0
mov dword [esp + 0x174], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42883e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00471f66
add esp, 0x168
ret