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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446501
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x456020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
add eax, 0x3b8
push eax
push 0x44c6cc
call fcn.0043553c
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x3b8], 0
jne 0x43bccc
jmp 0x43bea6
push 0x1388
push 0x1388
push 0x1388
push 0x1388
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x3b8]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x3b8]
mov edx, dword [eax]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [ebp - 0x18]
call fcn.0040fa30
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x18]
push ecx
call fcn.00433780
mov ecx, eax
call fcn.00432e30
lea ecx, [ebp - 0x14]
call fcn.0040fa30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040fa30
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x3c0]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x449c30
lea edx, [ebp - 0x14]
push edx
call fcn.0040f3e0
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bd7f
lea ecx, [ebp - 0x14]
call fcn.00433de0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
push eax
push str._s_kt
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040f3e0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bdb6
lea ecx, [ebp - 0x10]
call fcn.00433de0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
push edx
push str._s_kti
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f3e0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bded
lea ecx, [ebp - 0x1c]
call fcn.00433de0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x3bc
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3b8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3b8]
mov edx, dword [edx]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0x20], 0
je 0x43be32
mov ecx, dword [ebp - 0x20]
add ecx, 0x38c
mov dword [ebp - 0x24], ecx
jmp 0x43be39
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3b8]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x3b8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
push 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3b8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3b8]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040fa10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040fa10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret