Function at 0x452e33
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x69c24c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x50
mov eax, 0x5f086d
call fcn.005bb14d
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x25c]
mov ebx, dword [ebp + 0x260]
mov edi, dword [ebp + 0x264]
push 0xe6
push 0x12
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push str.ReleaseModeDeb.cpp
push eax
call fcn.00408f4f
add esp, 0x10
and dword [ebp - 4], 0
test ebx, ebx
je 0x452e98
mov ecx, ebx
call fcn.00406b95
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
call fcn.004887ac
push eax
lea ecx, [ebp - 0x10]
call fcn.0040654d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
push dword [ebp - 0x18]
call fcn.00408edd
mov byte [ebp - 4], 5
call fcn.004887ac
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040654d
mov byte [ebp - 4], 7
call fcn.004887ac
push eax
lea ecx, [ebp - 0x28]
call fcn.0040654d
mov byte [ebp - 4], 9
test edi, edi
je 0x452f0d
push edi
call fcn.00481ae0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00406ea2
jmp 0x452f25
lea ecx, [esi + 0x30]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x4533fa
push ecx
lea ecx, [ebp - 0x28]
call fcn.004067de
test edi, edi
mov edi, dword [ebp - 0x28]
jne 0x45309f
lea eax, [ebp]
push eax
push edi
call fcn.004596d5
pop ecx
pop ecx
test eax, eax
je 0x45309f
cmp dword [ebp + 0x1c], 0
ja 0x452f56
mov eax, dword [ebp + 0x20]
cmp eax, dword [esi + 0x2c]
jb 0x45309f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45301d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 2
je 0x45301d
push edi
lea eax, [ebp - 0x1c]
push str.DeleteFile__s_
push eax
call fcn.00459852
mov byte [ebp - 4], 0xe
push 0
push dword [eax]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x18]
push eax
call fcn.0042928a
add esp, 0x1c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test ebx, ebx
je 0x452fdc
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004067de
jmp 0x4533fd
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push 0x61902c
push eax
call fcn.00409289
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409504
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov dword [ebp - 0x20], fcn.004537b9
call fcn.004887ac
push eax
lea ecx, [ebp - 0x18]
call fcn.0040654d
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x18]
push 0x60b6e4
push 0x60b6dc
push str.Machete_Lite
push 0x61907c
push eax
call fcn.00406c3b
inc dword [esi + 0x38]
lea eax, [ebp - 0x2c]
push dword [esi + 0x38]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str.Internal_debug_info_file__i
push 0
push eax
call fcn.0040e1c4
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push 1
push esi
push eax
call fcn.0042aef0
add esp, 0x30
lea ecx, [ebp - 0x20]
push 0x6190d8
push 0
call fcn.004537b9
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
call fcn.00406e44
mov esi, dword [ebp - 0x14]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x453169
push edi
lea eax, [ebp - 0x1c]
push str.CreateFile:__s
push eax
call fcn.00459852
add esp, 0xc
mov byte [ebp - 4], 0x1b
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042928a
add esp, 0x10
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test ebx, ebx
jne 0x452fcc
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push 0x61902c
push eax
call fcn.00409289
add esp, 0xc
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409504
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
jmp 0x4533fd
push 2
push 0
push 0
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x453218
push edi
lea eax, [ebp - 0x1c]
push str.SetFilePointer:__s__FILE_END
push eax
call fcn.00459852
add esp, 0xc
mov byte [ebp - 4], 0x29
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042928a
add esp, 0x10
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test ebx, ebx
jne 0x452fcc
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push 0x61902c
push eax
call fcn.00409289
add esp, 0xc
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409504
jmp 0x453155
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040682b
mov byte [ebp - 4], 0x37
push 0x61902c
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406880
add esp, 0x18
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x38]
push dword [eax]
call fcn.0045364a
mov byte [ebp - 4], 0x3a
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x40]
push 0
push edx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x453344
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
jne 0x453344
push dword [ebp - 0x18]
and dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4533ee
push edi
lea eax, [ebp - 0x1c]
push str.CloseHandle:__s
push eax
call fcn.00459852
add esp, 0xc
mov byte [ebp - 4], 0x4e
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042928a
add esp, 0x10
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0x4e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test ebx, ebx
jne 0x4533a0
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push 0x61902c
push eax
call fcn.00409289
add esp, 0xc
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409504
jmp 0x4533df
push edi
lea eax, [ebp - 0x1c]
push str.WriteFile:__s
push eax
call fcn.00459852
add esp, 0xc
mov byte [ebp - 4], 0x3e
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042928a
add esp, 0x10
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0x3e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test ebx, ebx
je 0x4533ad
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004067de
jmp 0x4533ee
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push 0x61902c
push eax
call fcn.00409289
add esp, 0xc
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409504
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
jmp 0x45315c
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 7
lea ecx, [edi - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00412e16
mov byte [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.005bb105
lea esp, [ebp + 0x254]
pop ebp
ret 0xc