Function at 0x42d1c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47a268
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4a5eb0]
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.00403170
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42d239
mov ecx, dword [esp + 0x17c]
push ecx
push str.DeleteFile__s_
call fcn.00403170
add esp, 8
mov eax, dword [0x492ba4]
mov ecx, dword [0x492ba8]
mov edx, 8
mov dword [esp + 0x140], eax
mov eax, dword [0x492bb0]
mov word [esp + 0x158], dx
mov edx, dword [0x492bac]
mov dword [esp + 0x144], ecx
mov ecx, dword [0x492bb4]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x148], edx
mov edx, dword [0x492bb8]
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.00428af0
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 0x42d2f0
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [0x492bc4]
mov esi, dword [0x492bc8]
mov eax, dword [0x492bbc]
mov ecx, dword [0x492bc0]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x10]
push edx
push 0x492dec
push 1
push 0
mov dword [esp + 0x140], esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ebx, [esp + 0x144]
push 0x486660
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 0x42d384
push eax
push str.CreateDBCoCreateInstance_x
call fcn.00403170
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x492dec
push 1
push 0
push 0x486650
call esi
mov esi, eax
test esi, esi
jl 0x42d404
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x492e0c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x42d3e8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0x492e0c
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.00403170
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 0x42d412
push esi
push str.pIDBInitialize__QueryInterface_x
call fcn.00403170
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
jmp 0x42d412
push esi
push str.CreateDBCoCreateInstance_x
call fcn.00403170
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 0x42d44e
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.00475d76
add esp, 0x168
ret