Function at 0x42e100
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47ab48
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4a6eb0]
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 0x42e179
mov ecx, dword [esp + 0x17c]
push ecx
push str.DeleteFile__s_
call fcn.00403170
add esp, 8
mov eax, dword [0x493d84]
mov ecx, dword [0x493d88]
mov edx, 8
mov dword [esp + 0x140], eax
mov eax, dword [0x493d90]
mov word [esp + 0x158], dx
mov edx, dword [0x493d8c]
mov dword [esp + 0x144], ecx
mov ecx, dword [0x493d94]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x148], edx
mov edx, dword [0x493d98]
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.00429a30
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 0x42e230
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [0x493da4]
mov esi, dword [0x493da8]
mov eax, dword [0x493d9c]
mov ecx, dword [0x493da0]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x10]
push edx
push 0x493fcc
push 1
push 0
mov dword [esp + 0x140], esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ebx, [esp + 0x144]
push 0x487840
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 0x42e2c4
push eax
push str.CreateDBCoCreateInstance_x
call fcn.00403170
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x493fcc
push 1
push 0
push 0x487830
call esi
mov esi, eax
test esi, esi
jl 0x42e344
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x493fec
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x42e328
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0x493fec
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 0x42e352
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 0x42e352
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 0x42e38e
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.004764f6
add esp, 0x168
ret