Function at 0x414cf0
Capabilities:
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55deee
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov edi, edx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push 0x5b7610
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x18], 0xf
call fcn.00409a30
mov dword [ebp - 4], ebx
cmp dword [0x5b7624], 0x10
mov eax, dword [0x5b7610]
jae 0x414d6c
mov eax, 0x5b7610
mov edx, dword [0x5b7620]
cmp byte [eax + edx - 1], 0x2f
lea eax, [eax + edx - 1]
je 0x414d87
mov bl, 0x2f
lea esi, [ebp - 0x2c]
call fcn.004099a0
push 0
push edi
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00409fc0
push str..new
mov eax, esi
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040b1b0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov ebx, dword [ebp - 0x48]
jae 0x414db9
lea ebx, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call ebx
mov eax, dword [ebp - 0x48]
mov edi, 0x10
mov byte [ebp - 0xa1], 0
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0x34], edi
jae 0x414df1
lea eax, [ebp - 0x48]
push 0x58e088
push eax
lea edx, [ebp - 0xb0]
push edx
call fcn.00534419
mov eax, dword [ebp - 0xb0]
add esp, 0xc
test eax, eax
je 0x414e49
mov ecx, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp + 0xc]
push 1
push eax
push ecx
call fcn.00534d51
add esp, 0x10
cmp eax, 1
jne 0x414e31
mov byte [ebp - 0xa1], al
mov edx, dword [ebp - 0xb0]
push edx
call fcn.005347c7
add esp, 4
cmp byte [ebp - 0xa1], 0
jne 0x414ebc
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x414e54
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x20]
push 0x1d
push ecx
call fcn.00414260
add esp, 0xc
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x48]
jae 0x414e74
lea edi, [ebp - 0x48]
push 0x80
push edi
call esi
push edi
call ebx
cmp dword [ebp - 0x34], 0x10
jb 0x414e91
mov edx, dword [ebp - 0x48]
push edx
call fcn.004310e1
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x414eb5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004310e1
add esp, 4
xor al, al
jmp 0x4153f4
push 0x58c578
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.0040b1b0
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x80]
jae 0x414ee0
lea edi, [ebp - 0x80]
cmp dword [ebp - 0x18], 0x10
jb 0x414ef1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
jmp 0x414efa
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xa0], ecx
push 0x80
push edi
call esi
push edi
call ebx
mov edx, dword [ebp - 0xa0]
push 0x80
push edx
call esi
mov eax, dword [ebp - 0xa0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [ebp - 0x18], 0x10
mov edi, dword [ebp - 0x2c]
jae 0x414f2d
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x34], 0x10
jb 0x414f3e
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xa0], ecx
jmp 0x414f47
lea edx, [ebp - 0x48]
mov dword [ebp - 0xa0], edx
push 0x80
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0xa0]
push 0x80
push eax
call esi
mov ecx, dword [ebp - 0xa0]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, 1
je 0x415060
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x414f87
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0xa8]
push eax
mov eax, dword [edx + 0x20]
push eax
call fcn.00414260
add esp, 0xc
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x2c]
jae 0x414fac
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x6c], 0x10
jb 0x414fbd
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xa0], ecx
jmp 0x414fc6
lea edx, [ebp - 0x80]
mov dword [ebp - 0xa0], edx
push 0x80
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0xa0]
push 0x80
push eax
call esi
mov ecx, dword [ebp - 0xa0]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [ebp - 0x34], 0x10
mov edi, dword [ebp - 0x48]
jae 0x414ff9
lea edi, [ebp - 0x48]
push 0x80
push edi
call esi
push edi
call ebx
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x41501a
mov edx, dword [ebp - 0x80]
push edx
call fcn.004310e1
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], esi
jb 0x41503b
mov eax, dword [ebp - 0x48]
push eax
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], esi
jb 0x414eb5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004310e1
add esp, 4
xor al, al
jmp 0x4153f4
cmp dword [ebp - 0x34], 0x10
mov edi, dword [ebp - 0x48]
jae 0x41506c
lea edi, [ebp - 0x48]
push 0x80
push edi
call esi
push edi
call ebx
cmp dword [ebp - 0x6c], 0x10
mov edi, dword [ebp - 0x80]
jae 0x415083
lea edi, [ebp - 0x80]
push 0x80
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x14], 0x10
jb 0x41509c
mov eax, dword [eax]
mov edi, eax
call fcn.00413da0
test al, al
je 0x415277
lea edx, [ebp - 0x64]
push 0x58e184
push edx
mov ebx, 0x5b762c
call fcn.00417ba0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x64]
mov ebx, 0x10
cmp dword [ebp - 0x50], ebx
jae 0x4150d5
lea ecx, [ebp - 0x64]
call fcn.00414120
test al, al
jne 0x415144
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4150e9
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00414260
mov edi, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x41510e
lea edi, [ebp - 0x2c]
push 0x80
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [ebp - 0x64]
call fcn.004097a0
lea esi, [ebp - 0x80]
call fcn.004097a0
lea esi, [ebp - 0x48]
call fcn.004097a0
lea esi, [ebp - 0x2c]
call fcn.004097a0
xor al, al
jmp 0x4153f4
push 1
mov eax, 0x58c570
lea ecx, [ebp - 0x64]
call fcn.0040a0b0
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x14], ebx
jb 0x415160
mov eax, dword [eax]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415165
sub ecx, esi
push ecx
lea ecx, [ebp - 0x64]
call fcn.0040a0b0
push 0x58c578
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040b1b0
add esp, 0xc
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x4151a7
lea esi, [ebp - 0x9c]
mov edi, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4151b2
lea edi, [ebp - 0x64]
call fcn.00414540
mov esi, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4151c2
lea esi, [ebp - 0x64]
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x4151cd
lea edi, [ebp - 0x2c]
call fcn.00414540
test al, al
jne 0x41523f
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x4151e1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x20]
push eax
push edx
call fcn.00414260
mov esi, dword [ebp - 0x64]
add esp, 0xc
cmp dword [ebp - 0x50], ebx
jae 0x415206
lea esi, [ebp - 0x64]
mov edi, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x41521a
lea edi, [ebp - 0x9c]
call fcn.00414540
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41522a
lea esi, [ebp - 0x2c]
call fcn.00414520
lea esi, [ebp - 0x9c]
call fcn.004097a0
jmp 0x41511d
mov esi, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x415253
lea esi, [ebp - 0x9c]
call fcn.00414520
lea esi, [ebp - 0x9c]
call fcn.004097a0
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004097a0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41527c
mov ebx, 0x10
mov edi, dword [ebp - 0xac]
cmp dword [edi + 0x14], ebx
jb 0x415289
mov edi, dword [edi]
call fcn.00413d20
test al, al
je 0x4153a4
lea eax, [ebp - 0x64]
push 0x58e184
push eax
mov ebx, 0x5b7648
call fcn.00417ba0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
mov ebx, 0x10
cmp dword [ebp - 0x50], ebx
jae 0x4152c0
lea ecx, [ebp - 0x64]
call fcn.00414120
test al, al
jne 0x4152eb
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4152d4
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x20]
push eax
push edx
jmp 0x4150fb
push 1
mov eax, 0x58c570
lea ecx, [ebp - 0x64]
call fcn.0040a0b0
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x14], ebx
jb 0x415307
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
call fcn.00409800
push 0x58c578
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040b1b0
add esp, 0xc
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x415340
lea esi, [ebp - 0x9c]
mov edi, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x41534b
lea edi, [ebp - 0x64]
call fcn.00414540
mov esi, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x41535b
lea esi, [ebp - 0x64]
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x415366
lea edi, [ebp - 0x2c]
call fcn.00414540
test al, al
je 0x4151d6
mov esi, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], ebx
jae 0x415387
lea esi, [ebp - 0x9c]
call fcn.00414520
lea esi, [ebp - 0x9c]
call fcn.004097a0
lea esi, [ebp - 0x64]
call fcn.004097a0
mov ebx, 0x10
cmp dword [ebp - 0x6c], ebx
jb 0x4153b5
mov eax, dword [ebp - 0x80]
push eax
call fcn.004310e1
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x34], ebx
jb 0x4153d7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], ebx
jb 0x4153f2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004310e1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 8