Function at 0x411d50
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov eax, 0x208c
mov ebp, esp
push edi
push esi
push ebx
call fcn.0047fb50
mov dword [ebp - 0x203c], esp
mov eax, 0x473640
mov dword [ebp - 0x204c], eax
mov eax, 0x4b4eb4
mov dword [ebp - 0x2048], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2044], eax
mov eax, 0x4121f0
mov dword [ebp - 0x2040], eax
lea eax, [ebp - 0x2064]
mov dword [esp], eax
call fcn.0047f180
mov eax, 0xffffffff
mov dword [ebp - 0x2060], eax
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x411d0a
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp], eax
mov dword [esp + 4], 0x411d1b
call fcn.004b3360
mov dword [esp], eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp], eax
mov dword [esp + 4], 0x42e600
call fcn.00498ab0
mov eax, dword [0x4be430]
test eax, eax
jle 0x411ec0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00433590
sub esp, 4
lea edx, [ebp - 0x28]
mov eax, 4
mov dword [esp], edx
mov dword [ebp - 0x2060], eax
call fcn.00457590
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00456350
lea edx, [ebp - 0x38]
mov edi, 3
mov dword [esp], edx
mov dword [ebp - 0x2060], edi
call fcn.0040c860
mov dword [ebp - 0x206c], eax
mov esi, 4
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x2060], esi
call fcn.00456470
lea eax, [ebp - 0x28]
mov ebx, 0xffffffff
mov dword [esp], eax
mov dword [ebp - 0x2060], ebx
call fcn.00456470
mov dword [esp + 8], 0x64
mov edx, dword [ebp - 0x206c]
mov dword [esp], 0x4cec70
mov dword [esp + 4], edx
call fcn.00458980
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp + 0x14]
mov ecx, 0xffffffff
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2060], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004111d0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00457590
mov dword [esp], eax
call sub.msvcrt.dll_remove
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00457590
mov dword [esp], eax
mov edx, dword [ebp + 0x18]
mov dword [esp + 4], edx
call fcn.00434ab0
mov dword [ebp - 0x2074], eax
test eax, eax
je 0x411f48
mov edx, eax
mov eax, dword [eax]
mov dword [esp], edx
call dword [eax + 8]
test eax, eax
jne 0x411faf
mov edx, dword [ebp - 0x2074]
mov eax, dword [edx]
mov dword [esp], edx
mov edx, 0xffffffff
mov eax, dword [eax + 4]
mov dword [ebp - 0x2060], edx
call eax
mov eax, 0xffffffff
mov dword [ebp - 0x2060], eax
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x411d1d
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
mov dword [esp + 4], 0x42e600
call fcn.00498ab0
mov eax, 1
mov dword [ebp - 0x2068], eax
lea eax, [ebp - 0x2064]
mov dword [esp], eax
call fcn.0047f230
mov eax, dword [ebp - 0x2068]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x2060], eax
call fcn.00457590
mov dword [esp], eax
mov dword [esp + 4], 0x411d35
call sub.msvcrt.dll_fopen
mov dword [ebp - 0x2078], eax
test eax, eax
je 0x41218d
mov edx, dword [ebp - 0x2074]
mov eax, dword [edx + 8]
test eax, eax
je 0x411ff5
mov dword [0x4be448], eax
mov dword [esp], 0
xor ebx, ebx
mov ecx, 0xffffffff
mov dword [ebp - 0x2080], ebx
mov dword [ebp - 0x2060], ecx
nop
call fcn.00411310
mov edx, dword [ebp - 0x2074]
mov eax, dword [edx]
lea edx, [ebp - 0x2038]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x2074]
mov dword [esp + 8], 0x2000
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov edx, 0xffffffff
mov dword [ebp - 0x2060], edx
call eax
mov dword [ebp - 0x2084], eax
test eax, eax
jle 0x4120a1
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x2078]
mov edx, dword [ebp - 0x2084]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2038]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [esp + 8], edx
mov dword [ebp - 0x2060], eax
call sub.msvcrt.dll_fwrite
mov edx, dword [ebp - 0x2084]
add dword [ebp - 0x2080], edx
mov eax, dword [ebp - 0x2080]
mov dword [esp], eax
jmp 0x412010
mov eax, dword [ebp - 0x2078]
mov edx, dword [ebp - 0x2080]
add dword [0x4be434], edx
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x2060], eax
call sub.msvcrt.dll_fclose
mov edx, dword [ebp - 0x2074]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
mov edi, dword [0x4be430]
test edi, edi
jle 0x412186
lea eax, [ebp - 0x28]
mov esi, 0xffffffff
mov ebx, 2
mov dword [esp], eax
mov dword [ebp - 0x2060], esi
call fcn.00433590
mov dword [ebp - 0x2060], ebx
sub esp, 4
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.00457590
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00456350
lea edx, [ebp - 0x38]
mov ecx, 1
mov dword [esp], edx
mov dword [ebp - 0x2060], ecx
call fcn.0040c860
mov dword [ebp - 0x2088], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 2
mov dword [ebp - 0x2060], eax
call fcn.00456470
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x2060], eax
call fcn.00456470
mov dword [esp + 8], 0x64
mov edx, dword [ebp - 0x2088]
mov dword [esp], 0x4cec70
mov dword [esp + 4], edx
call fcn.00458980
xor eax, eax
jmp 0x411f8d
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [ebp - 0x207c], eax
test eax, eax
je 0x4121e2
mov edx, dword [ebp + 0xc]
mov esi, 0xffffffff
mov dword [ebp - 0x2060], esi
mov dword [esp], edx
call fcn.00457590
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x207c]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0xa
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004340e0
jmp 0x411fe3
mov edi, 0x411d38
mov dword [ebp - 0x207c], edi
jmp 0x4121a6