Function at 0x43ed90
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x624], ecx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0040a800
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43edd4
jmp 0x43f032
push 0x104
lea edx, [ebp - 0x620]
push edx
call fcn.0040a850
add esp, 8
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43edff
jmp 0x43f032
cmp dword [0x4c36d0], 0
jne 0x43ee51
push 0x43a
call fcn.00429ff0
add esp, 4
push eax
push 1
push 0x40a
mov ecx, dword [ebp - 0x624]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x624]
call fcn.0043e8f0
test eax, eax
je 0x43ee4f
jmp 0x43f032
jmp 0x43ee73
lea edx, [ebp - 0x620]
push edx
push str.miss__s
push 0x4a0630
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43eeaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x4a0658
push 0x4a064c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x43eed1
lea edx, [ebp - 0x210]
push edx
push 0x4a0688
push 0x4a067c
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00472990
add esp, 0xc
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.0040a7c0
add esp, 8
push 0x4a06a0
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.00472b79
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ef8d
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43ef6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x418]
push eax
push 0x4a06c4
push 0x4a06b8
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x43ef8d
lea ecx, [ebp - 0x418]
push ecx
push 0x4a06f4
push 0x4a06e8
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.0040a7c0
add esp, 8
push 0x4a070c
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.00472b79
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43f02a
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43f008
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x418]
push eax
push str.del_old__s_ret:_d
push 0x4a0720
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x43f02a
lea ecx, [ebp - 0x418]
push ecx
push str.del_old__s
push 0x4a0750
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 0xc
xor edx, edx
jne 0x43eda9
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret