Function at 0x42edd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558458
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5d7b20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x50]
call fcn.00459852
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00406430
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406430
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00406430
mov byte [ebp - 4], 3
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ee51
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
push 1
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
call fcn.00418590
mov eax, dword [eax]
mov ecx, 0x56825c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42eea6
test dx, dx
je 0x42eea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42eea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ee80
xor eax, eax
jmp 0x42eeab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x20]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42eecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42eee2
push 1
push 0x56825c
lea ecx, [ebp - 0x14]
call fcn.00405330
push 3
push 0x5777c4
lea ecx, [ebp - 0x14]
call fcn.00405330
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42ef10
push 0
lea ecx, [ebp - 0x14]
call fcn.004045b0
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x50]
call fcn.004598f9
test eax, eax
je 0x42f1b0
lea ecx, [ebp - 0x50]
call fcn.004594c2
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x34], eax
call fcn.00459814
test eax, eax
jne 0x42f195
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x50]
call eax
test eax, eax
je 0x42f08e
test esi, esi
jne 0x42ef5b
xor eax, eax
jmp 0x42ef6f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ef60
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.00404df0
push 1
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00418590
mov eax, dword [eax]
mov ecx, 0x56825c
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42efb6
test dx, dx
je 0x42efb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42efb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ef90
xor eax, eax
jmp 0x42efbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x20]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42efdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42eff2
push 1
push 0x56825c
lea ecx, [ebp + 0xc]
call fcn.00405330
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00459bd5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00405330
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f034
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42f053
push 0
lea ecx, [ebp - 0x18]
call fcn.004045b0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
mov esi, edx
or ecx, eax
jge 0x42f074
push 0
lea ecx, [ebp + 0xc]
call fcn.004045b0
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
push esi
push edi
call sym.DelDrv.exe_private:_int___thiscall_CPrinterDriverInf::FindTempFile_wchar_t_const___wchar_t_const__
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42f1a8
jmp 0x42f192
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00459bd5
mov esi, eax
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
mov byte [ebp - 4], 6
jge 0x42f0ba
push 0
mov ecx, esi
call fcn.004045b0
mov esi, dword [esi]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x42ee47
mov edx, dword [ebp - 0x18]
push esi
push edx
call fcn.0053e2bf
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42f192
push 1
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00418590
push 0x56825c
push eax
call fcn.004155b0
mov bl, al
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42f158
push 1
push 0x56825c
lea ecx, [ebp - 0x10]
call fcn.00405330
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405330
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42f187
push 0
lea ecx, [ebp - 0x10]
call fcn.004045b0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42f1a1
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x34], 0
jne 0x42ef23
jmp 0x42f1a8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x50]
call fcn.004593dc
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f216
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f239
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00459884
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8