Function at 0x428e30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4771d8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x49eef8]
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.00403100
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x428ea9
mov ecx, dword [esp + 0x17c]
push ecx
push str.DeleteFile__s_
call fcn.00403100
add esp, 8
mov eax, dword [0x48b468]
mov ecx, dword [0x48b46c]
mov edx, 8
mov dword [esp + 0x140], eax
mov eax, dword [0x48b474]
mov word [esp + 0x158], dx
mov edx, dword [0x48b470]
mov dword [esp + 0x144], ecx
mov ecx, dword [0x48b478]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x148], edx
mov edx, dword [0x48b47c]
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.00424610
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 0x428f60
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [0x48b488]
mov esi, dword [0x48b48c]
mov eax, dword [0x48b480]
mov ecx, dword [0x48b484]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x10]
push edx
push 0x48b6b0
push 1
push 0
mov dword [esp + 0x140], esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ebx, [esp + 0x144]
push 0x482fd0
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 0x428ff4
push eax
push str.CreateDBCoCreateInstance_x
call fcn.00403100
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x48b6b0
push 1
push 0
push 0x482fc0
call esi
mov esi, eax
test esi, esi
jl 0x429074
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x48b6d0
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x429058
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0x48b6d0
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.00403100
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 0x429082
push esi
push str.pIDBInitialize__QueryInterface_x
call fcn.00403100
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
jmp 0x429082
push esi
push str.CreateDBCoCreateInstance_x
call fcn.00403100
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 0x4290be
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.00472076
add esp, 0x168
ret