Function at 0x423000
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fa98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
push ecx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
lea ecx, [edi - 8]
call fcn.0041f5c0
test al, al
jne 0x4230eb
push str.Error_occurred_while_deleting_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x14]
push 0x40008
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21f9d5
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44eca0
mov dword [ecx + 0xc], 0x44e97c
mov dword [ecx + 0x10], 0x2cc
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00412b70
push eax
mov eax, dword [edi - 4]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
test eax, eax
je 0x4232d4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4232d4
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
push eax
mov eax, dword [ecx]
call eax
add esp, 4
mov eax, esi
test esi, esi
jne 0x4230c5
jmp 0x4232d4
mov eax, dword [edi - 4]
lea ecx, [ebp - 0x30]
mov eax, dword [eax + 4]
add eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042c470
mov eax, dword [edi - 4]
mov byte [ebp - 4], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + edi]
test eax, eax
je 0x42311b
cmp dword [eax + 4], 0
jne 0x4232c8
lea ecx, [ebp - 0x3c]
call fcn.00436e20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4232aa
push str.Error_occurred_while_deleting_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40008
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push 0x44e9f4
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21f9e0
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44edb0
mov dword [ecx + 0xc], 0x44ea4c
mov dword [ecx + 0x10], 0x2d7
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [edi - 4]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402f20
mov eax, dword [edi - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi]
test eax, eax
je 0x4232bc
cmp dword [eax + 4], 0x40014
jne 0x4232bc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x200000
push 3
push 0
push 3
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4232a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4232bc
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi - 4]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00424930
mov esi, eax
push str.The_specified_file_does_not_exist.
mov byte [ebp - 4], 5
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x14]
push 0x40011
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21f9ef
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44eea8
mov dword [ecx + 0xc], str.winnt_dir::Remove
mov dword [ecx + 0x10], 0x2e6
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00412b70
push esi
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004130e0
push eax
mov eax, dword [edi - 4]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00402f20
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00402f20
jmp 0x4232bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4232bc
mov eax, dword [edi - 4]
push 0x465148
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00436eb0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0042c690
cmp dword [ebp - 0x14], 8
jb 0x4232e5
push dword [ebp - 0x28]
call fcn.00404a15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret 4