Function at 0x461270
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x41024
call fcn.00443860
mov eax, dword [0x4ac40c]
xor eax, esp
mov dword [esp + 0x41020], eax
push ebx
push ebp
mov ebp, dword [esp + 0x41034]
push esi
push edi
mov edi, dword [esp + 0x41038]
push str..log
push 0
mov esi, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 0
call fcn.00443c2a
add esp, 4
push eax
push str.360_tmp_
push 0x491e34
lea eax, [esi + 0x430]
push eax
push str._s_s_s_d_s
push 0x104
push edi
call fcn.00407aa8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x20
push 0
push 0
push 4
push 0
push 3
push 0x12019f
push edi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x461497
push 0
push 0
push 3
push 0
push 1
push 0x120089
push ebp
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46131f
xor ebx, ebx
jmp 0x461483
lea ecx, [esp + 0x14]
push ecx
push 0
call fcn.00443c2a
add esp, 4
push eax
mov ecx, esi
call fcn.0045fce0
mov edx, dword [esi + 0xb6c]
push str.the_program_do_not_correct_complete__begin
push edx
movzx edx, word [esp + 0x24]
lea ebp, [esi + 0xa48]
push ebp
lea eax, [esi + 0x230]
push eax
movzx eax, word [esp + 0x30]
lea ecx, [esi + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x34]
push eax
push ecx
push edx
push str._t_4d__02d__02d__02d:_02d:_02d__p_s__c_s__m_s__lan_d__shutdown_s__n
lea eax, [esp + 0x60]
push 0x800
push eax
call fcn.00407aa8
add esp, 0x38
lea ecx, [esp + 0x30]
push ecx
push edi
mov ecx, esi
call fcn.004609e0
test eax, eax
je 0x461483
push 0
lea edx, [esp + 0x14]
push edx
push 0x40000
lea eax, [esp + 0x103c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x461417
mov eax, dword [esp + 0x10]
test eax, eax
je 0x461417
push 0
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x103c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x461483
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x10]
jne 0x461483
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x40000
lea edx, [esp + 0x103c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4613c3
mov eax, dword [esi + 0xb6c]
movzx ecx, word [esp + 0x20]
movzx edx, word [esp + 0x1e]
push str.the_program_do_not_correct_complete._end
push eax
push ebp
lea eax, [esi + 0x230]
push eax
lea eax, [esi + 0x30]
push eax
movzx eax, word [esp + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
push edx
push eax
push str._t_4d__02d__02d__02d:_02d:_02d__p_s__c_s__m_s__lan_d__shutdown_s__n
lea ecx, [esp + 0x60]
push 0x800
push ecx
call fcn.00407aa8
add esp, 0x38
lea edx, [esp + 0x30]
push edx
push edi
mov ecx, esi
call fcn.004609e0
test eax, eax
je 0x461483
mov dword [esp + 0x24], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x461490
push edi
call esi
test ebx, ebx
je 0x461497
push ebx
call esi
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x41030]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x41024
ret 8