Function at 0x42c0f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x477ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3eb0]
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.00403120
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42c169
mov ecx, dword [esp + 0x17c]
push ecx
push str.DeleteFile__s_
call fcn.00403120
add esp, 8
mov eax, dword [0x4906f0]
mov ecx, dword [0x4906f4]
mov edx, 8
mov dword [esp + 0x140], eax
mov eax, dword [0x4906fc]
mov word [esp + 0x158], dx
mov edx, dword [0x4906f8]
mov dword [esp + 0x144], ecx
mov ecx, dword [0x490700]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x148], edx
mov edx, dword [0x490704]
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.00427990
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 0x42c220
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [0x490710]
mov esi, dword [0x490714]
mov eax, dword [0x490708]
mov ecx, dword [0x49070c]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x10]
push edx
push 0x490938
push 1
push 0
mov dword [esp + 0x140], esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ebx, [esp + 0x144]
push 0x484380
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 0x42c2b4
push eax
push str.CreateDBCoCreateInstance_x
call fcn.00403120
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x490938
push 1
push 0
push 0x484370
call esi
mov esi, eax
test esi, esi
jl 0x42c334
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x490958
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x42c318
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0x490958
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.00403120
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 0x42c342
push esi
push str.pIDBInitialize__QueryInterface_x
call fcn.00403120
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
jmp 0x42c342
push esi
push str.CreateDBCoCreateInstance_x
call fcn.00403120
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 0x42c37e
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.00473c8a
add esp, 0x168
ret