Function at 0x426fd0
Capabilities:
Copy file
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43206b
push eax
mov eax, 0xa290
mov dword fs:[0], esp
call fcn.00431220
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x1d4]
push esi
cmp eax, ebp
push edi
jle 0x42700e
cmp dword [esp + 0xa2b4], eax
jge 0x427531
mov esi, dword [esp + 0xa2b0]
push 0xfa0
lea eax, [esp + 0x65c]
push esi
push eax
mov dword [esp + 0xa2b4], ebp
mov dword [esp + 0x25a8], ebp
mov dword [esp + 0x25a4], ebp
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call edi
add esp, 0x10
cmp word [esp + eax*2 + 0x656], 0x5c
jne 0x427063
push esi
call edi
add esp, 4
mov word [esp + eax*2 + 0x656], bp
lea ecx, [esp + 0x658]
push ecx
call fcn.00423e30
add esp, 4
test eax, eax
je 0x427535
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x9300]
push 0xf9f
lea eax, [esp + 0x65c]
push edx
push eax
call fcn.004109e0
lea ecx, [esp + 0x38]
lea esi, [ebx + 0x108]
push 0x64
push ecx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.00410a40
lea edx, [esp + 0xac]
push 0x64
push edx
push esi
call fcn.00410980
mov ecx, dword [esp + 0x25c4]
add esp, 0x28
cmp ecx, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jle 0x4274a6
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x1e8]
cmp eax, ebp
mov eax, dword [esp + 0x2598]
je 0x427524
mov edx, dword [esi + eax + 0x218]
add esi, eax
lea ecx, [esp + 0x24]
mov eax, dword [esi + 0x214]
push ecx
push edx
push eax
call fcn.00411080
mov edx, dword [esi + 0x220]
mov eax, dword [esi + 0x21c]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00411080
mov edx, dword [esi + 0x228]
mov eax, dword [esi + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00411080
lea ecx, [esp + 0x17c]
push 0x30b
push ecx
push esi
call fcn.004109e0
mov eax, dword [esi + 0x208]
add esp, 0x30
cmp eax, ebp
mov dword [esp + 0x10], ebp
jne 0x427374
cmp dword [esi + 0x210], ebp
ja 0x427480
jb 0x427193
cmp dword [esi + 0x20c], 0x1400000
ja 0x427480
mov eax, dword [ebx + 0x1d0]
cmp eax, 1
je 0x4271a3
cmp eax, 3
jne 0x4271cb
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebx + 0x108]
lea edx, [esp + 0x158]
push eax
push edx
call ebp
add esp, 8
test eax, eax
je 0x4271d1
mov dword [esp + 0x10], 1
jmp 0x4271d1
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
mov eax, dword [ebx + 0x1d0]
cmp eax, 2
je 0x4271e5
cmp eax, 3
jne 0x42736b
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x658]
push esi
push eax
lea ecx, [esp + 0x3548]
push 0x438118
push ecx
call edi
lea edx, [esp + 0x168]
push str..txt
push edx
call ebp
add esp, 0x18
test eax, eax
je 0x42724d
lea eax, [esp + 0x3540]
lea ecx, [esp + 0x73c0]
push eax
push str._s.tmp
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x73c0]
lea eax, [esp + 0x3540]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4272c5
lea ecx, [esp + 0x158]
push str..docx
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x42727d
lea edx, [esp + 0x158]
push str..doc
push edx
call ebp
add esp, 8
test eax, eax
je 0x42736b
lea eax, [esp + 0x3540]
lea ecx, [esp + 0x73c0]
push eax
push str._s.tmp
push ecx
call edi
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 0xc
lea edx, [esp + 0x3540]
push edx
call ebp
mov edi, eax
lea eax, [esp + 0x73c0]
push eax
call ebp
push eax
push edi
call fcn.004268b0
add esp, 8
test eax, eax
je 0x42736b
lea ecx, [esp + 0x73c0]
push 0x437870
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x42736b
mov edx, dword [esi + 0x20c]
inc edx
push edx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esi + 0x20c]
push ebp
push eax
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebx + 0x108]
push eax
push edi
call ebp
add esp, 0x20
test eax, eax
jne 0x427348
lea ecx, [esp + 0x2c]
push ecx
push edi
call ebp
add esp, 8
test eax, eax
jne 0x427348
lea edx, [esp + 0x90]
push edx
push edi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x427350
mov dword [esp + 0x10], 1
lea eax, [esp + 0x73c0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x42736b
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, 1
xor ebp, ebp
jmp 0x4273aa
mov eax, dword [ebx + 0x1d0]
cmp eax, 1
je 0x427384
cmp eax, 3
jne 0x4273a8
lea eax, [ebx + 0x108]
lea ecx, [esp + 0x158]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4273a8
mov dword [esp + 0x10], 1
xor edi, edi
cmp dword [esp + 0x10], ebp
je 0x427466
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x158]
lea eax, [esp + 0x9300]
push edx
push eax
lea ecx, [esp + 0x25a8]
push str._s_s
push ecx
call ebp
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x10
push edx
mov edx, dword [esi + 0x210]
push eax
mov eax, dword [esi + 0x20c]
push ecx
push edx
push eax
lea ecx, [esp + 0x25b4]
push edi
push ecx
lea edx, [esp + 0x480]
push str._s_t_d_t_I64d_t_u_t_t_u_t_u_r_n
push edx
call ebp
mov edi, dword [ebx + 0x1e0]
mov edx, dword [ebx + 0x1e4]
mov ecx, eax
add edi, edx
mov edx, ecx
lea esi, [esp + 0x488]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0x24
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x1e4]
mov edx, dword [ebx + 0x1dc]
mov ecx, dword [ebx + 0x1d8]
add esi, eax
inc edx
mov dword [ebx + 0x1e4], esi
mov eax, edx
mov dword [ebx + 0x1dc], edx
cmp eax, ecx
jge 0x427512
xor ebp, ebp
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x14
mov dword [esp + 0x14], eax
jle 0x427480
push 1
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x259c]
inc eax
add esi, 0x22c
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jl 0x4270ed
xor edi, edi
cmp ecx, ebp
jle 0x427535
xor esi, esi
mov eax, dword [esp + 0x2598]
add eax, esi
cmp dword [eax + 0x208], ebp
je 0x427505
lea ecx, [esp + 0x658]
push eax
push ecx
lea edx, [esp + 0x5488]
push 0x438118
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [esp + 0xa2c4]
add esp, 0x10
inc eax
lea ecx, [esp + 0x5480]
push eax
push ecx
mov ecx, ebx
call fcn.00426fd0
test eax, eax
je 0x42751d
mov ecx, dword [esp + 0x259c]
inc edi
add esi, 0x22c
cmp edi, ecx
jl 0x4274b2
jmp 0x427535
mov eax, dword [esp + 0x2598]
test eax, eax
jmp 0x427526
mov eax, dword [esp + 0x2598]
cmp eax, ebp
je 0x427531
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x42754e
mov eax, dword [esp + 0x2598]
cmp eax, ebp
je 0x427549
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa29c
ret 8