Function at 0x4019fa
Capabilities:
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
push ebx
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x401a01
call fcn.0045e790
mov edx, dword [esp + 0x2c]
lea ecx, [esp]
call fcn.0044e000
mov dword [esp + 4], 0xffffffff
push edx
call fcn.0045e620
pop edx
push eax
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.WinNTSetuplang.dll
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_CreateFileW
call fcn.0044e2f0
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
cmp ebx, 0xffffffff
je 0x401abf
push 0
lea eax, [esp + 0x20]
push eax
mov ebp, str.NTLDR
mov ebx, ebp
mov ebp, 0x46fa82
sub ebx, ebp
push ebx
mov ebp, 0x46fa82
push ebp
push dword [esp + 0x14]
call sub.kernel32.dll_WriteFile
push dword [esp + 4]
call sub.kernel32.dll_CloseHandle
push dword [esp + 0x18]
call fcn.0045ac40
mov ebx, dword [esp + 4]
cmp ebx, 0xffffffff
jne 0x401ad8
xor eax, eax
jmp 0x401cc6
mov ebp, dword [0x473568]
push dword [ebp]
pop eax
mov dword [esp + 8], eax
push edx
call fcn.0045e620
pop edx
push eax
push 1
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.WinNTSetuplang.dll
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_BeginUpdateResourceW
call fcn.0044e2f0
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x401c43
push 8
call fcn.0045ac20
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x401c35
push dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
pop eax
mov dword [ebp], eax
push dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x10]
lea eax, [0x40c412]
push eax
push 6
push dword [esp + 0x14]
call sub.kernel32.dll_EnumResourceNamesW
push dword [esp + 0x10]
call fcn.0045ac40
push 0x46105e
push 0
push 0xa
mov eax, str.HELP
push eax
call fcn.0040c276
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x401bdd
push dword [esp + 0x14]
call fcn.0045ac60
push eax
push dword [esp + 0x18]
push dword [esp + 0x38]
mov eax, str.HELP
push eax
push 0xa
push dword [esp + 0x20]
call sub.kernel32.dll_UpdateResourceW
push dword [esp + 0x14]
call fcn.0045ac40
mov ebp, dword [0x47356c]
push dword [ebp + 4]
push 0
push 0x10
mov eax, 0x463d0a
push eax
call fcn.0040c276
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x401c35
push dword [esp + 0x14]
call fcn.0045ac60
push eax
push dword [esp + 0x18]
push dword [esp + 0x38]
mov eax, 0x461b92
push eax
push 0x10
push dword [esp + 0x20]
call sub.kernel32.dll_UpdateResourceW
push dword [esp + 0x14]
call fcn.0045ac40
push 0
push dword [esp + 0x10]
call sub.kernel32.dll_EndUpdateResourceW
push edx
call fcn.0045e620
pop edx
push eax
push 0
push dword [esp + 8]
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.WinNTSetuplang.dll
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_CopyFileW
call fcn.0044e2f0
push edx
call fcn.0045e620
pop edx
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.WinNTSetuplang.dll
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_DeleteFileW
call fcn.0044e2f0
xor eax, eax
push dword [esp]
call fcn.0045e7f0
add esp, 0x20
pop ebx
pop ebp
ret 8