Function at 0x43c410
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e7d9b
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x428]
xor ebx, ebx
test edi, edi
je 0x43c754
mov esi, dword [esp + 0x42c]
test esi, esi
je 0x43c754
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call ebp
mov ecx, dword [esp + 0x430]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x43c470
cmp eax, 0xffffffff
jne 0x43c754
push esi
lea ecx, [esp + 0x14]
call fcn.005d5c95
push str._2tmp
lea ecx, [esp + 0x14]
mov dword [esp + 0x424], 0
call fcn.005d6003
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
push 0
push ecx
push edi
call fcn.0040e5d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43c740
mov eax, dword [esp + 0x434]
test eax, eax
je 0x43c4d8
mov edx, dword [esp + 0x10]
push edx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43c735
mov ebx, dword [esp + 0x14]
or edi, 0xffffffff
cmp ebx, edi
je 0x43c4f7
test bl, 1
je 0x43c4f7
and ebx, 0xfffffffe
push ebx
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esp + 0x438], 2
je 0x43c614
mov eax, dword [esp + 0x10]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ebx, eax
test ebx, ebx
jne 0x43c70f
cmp dword [esp + 0x14], edi
je 0x43c721
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [esp + 0x20]
push 0x63e73c
push ecx
call fcn.004446b2
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call ebp
xor edi, edi
cmp eax, 0xffffffff
je 0x43c59b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [esp + 0x20]
push 0x63e73c
push eax
call fcn.004446b2
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
call ebp
inc edi
cmp edi, 0xa
jge 0x43c735
cmp eax, 0xffffffff
jne 0x43c563
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0x18]
push edx
push esi
call ebp
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push esi
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x43c5ca
push esi
call fcn.00410500
add esp, 4
jmp 0x43c5e5
mov eax, dword [esp + 0x438]
test eax, eax
jbe 0x43c5e1
mov ecx, dword [esp + 0x10]
push 5
push esi
push ecx
call edi
mov ebx, eax
test ebx, ebx
je 0x43c602
mov edx, dword [esp + 0x10]
push edx
call fcn.00410500
add esp, 4
lea eax, [esp + 0x18]
push 4
push 0
push eax
call edi
jmp 0x43c740
lea ecx, [esp + 0x18]
push esi
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
jmp 0x43c73a
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x218], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp ebx, 0xffffffff
stosb byte es:[edi], al
je 0x43c6ae
test bl, 0x10
je 0x43c6ae
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
push esi
lea ecx, [esp + 0x220]
push 0x63e73c
push ecx
call fcn.004446b2
add esp, 0x10
lea edx, [esp + 0x218]
push edx
call ebp
xor edi, edi
cmp eax, 0xffffffff
je 0x43c69f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push eax
push esi
lea eax, [esp + 0x220]
push 0x63e73c
push eax
call fcn.004446b2
add esp, 0x10
lea ecx, [esp + 0x218]
push ecx
call ebp
inc edi
cmp edi, 0xa
jge 0x43c6da
cmp eax, 0xffffffff
jne 0x43c669
lea edx, [esp + 0x218]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 5
push esi
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x43c6f2
lea ecx, [esp + 0x218]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [esp + 0x10]
push edx
jmp 0x43c73a
lea ecx, [esp + 0x10]
mov dword [esp + 0x420], 0xffffffff
call fcn.005d5c27
xor eax, eax
jmp 0x43c756
mov eax, dword [esp + 0x10]
push eax
call fcn.00410500
add esp, 4
lea ecx, [esp + 0x218]
push 4
push 0
push ecx
call edi
jmp 0x43c740
push esi
call fcn.00410500
add esp, 4
mov dword [esp + 0x420], edi
jmp 0x43c74b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x420], edi
jmp 0x43c74b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x420], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005d5c27
mov eax, ebx
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x414
ret