Function at 0x6360b43a
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov eax, 0x5478
lea ebp, [esp - 0x53f8]
call fcn.63615140
mov eax, dword [0x6362e4e0]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 0x5400]
mov dword [ebp + 0x53f4], eax
mov eax, dword [ebp + 0x5404]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x28], eax
je 0x6360b732
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6360b732
push esi
call fcn.636147cb
mov esi, 0x104
mov edi, eax
push esi
lea eax, [ebp + 0x50e8]
push ebx
push eax
mov dword [ebp - 0x20], edi
call fcn.63615500
add esp, 0x10
cmp edi, ebx
je 0x6360b4ba
push dword [ebp - 0x28]
lea eax, [ebp + 0x50e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp + 0x50e8], bl
je 0x6360b4d7
lea eax, [ebp + 0x50e8]
push eax
call fcn.6360a0fb
test eax, eax
pop ecx
je 0x6360b732
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.63613da0
test eax, eax
pop ecx
pop ecx
jne 0x6360b4f0
cmp dword [ebp - 0x30], ebx
je 0x6360b732
push edi
call fcn.63614121
test eax, eax
pop ecx
jne 0x6360b732
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp + 0x51ec]
push ebx
push eax
call fcn.63615500
push 4
lea eax, [ebp + 0x4fe4]
push ebx
push eax
call fcn.63615500
push 0x50
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.63615500
push 0xff
lea eax, [ebp + 0x4fe4]
push eax
push ebx
push ebx
push esi
lea eax, [ebp + 0x51ec]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x20]
call fcn.636140fa
add esp, 0x44
test eax, eax
jne 0x6360b732
lea eax, [ebp + 0x51ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + 0x51ec]
dec ecx
mov al, byte [eax + ecx]
cmp al, 0x5c
je 0x6360b713
cmp al, 0x2f
je 0x6360b713
lea eax, [ebp + 0x50e8]
push eax
lea eax, [ebp + 0x52f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x52f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + 0x52f0]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x6360b5c2
push 0x636248b0
lea eax, [ebp + 0x52f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x51ec]
push eax
lea eax, [ebp + 0x52f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x52f0]
push eax
call fcn.6361664d
mov esi, eax
push 0x5c
push esi
call fcn.63616620
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x24], ebx
je 0x6360b602
push esi
mov byte [eax], bl
call fcn.6360a0fb
pop ecx
mov dword [ebp - 0x24], eax
push esi
call fcn.63614e88
cmp dword [ebp - 0x24], ebx
pop ecx
je 0x6360b732
lea eax, [ebp + 0x52f0]
push eax
call fcn.6360ab28
test eax, eax
pop ecx
je 0x6360b732
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x52f0]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x6360b6a9
cmp dword [ebp + 0x5408], ebx
je 0x6360b732
lea eax, [ebp + 0x52f0]
push eax
lea eax, [ebp - 0x1c]
push str._s.bak
push eax
call fcn.636161f1
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x52f0]
push eax
call fcn.6361686f
pop ecx
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x52f0]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x6360b732
push dword [ebp - 0x20]
call fcn.63614a79
test eax, eax
pop ecx
jne 0x6360b732
push 0x5000
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.636143b2
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x24], eax
jle 0x6360b6f5
push ebx
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6360b6f1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x28], eax
je 0x6360b6b6
or dword [ebp - 0x24], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call fcn.636145aa
test eax, eax
pop ecx
jne 0x6360b732
cmp dword [ebp - 0x24], ebx
jl 0x6360b732
mov esi, 0x104
push dword [ebp - 0x20]
call fcn.63614163
test eax, eax
pop ecx
je 0x6360b505
push dword [ebp - 0x20]
call fcn.636147d9
xor eax, eax
pop ecx
inc eax
jmp 0x6360b734
xor eax, eax
mov ecx, dword [ebp + 0x53f4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.636151ae
add ebp, 0x53f8
leave
ret