Function at 0x41c4d0
Capabilities:
Accept command line arguments
Check if file exists
Copy file
Create process on windows
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xeb8
mov eax, dword [0x47f06c]
xor eax, esp
mov dword [esp + 0xeb4], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x494]
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [esp + 0x490]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41c764
push 0x208
lea eax, [esp + 0x84]
push 0
push eax
call fcn.0043f640
add esp, 4
lea ecx, [esp + 0x88]
call fcn.0041c460
add esp, 8
test eax, eax
je 0x41c764
push ecx
lea eax, [esp + 0x494]
push 0x5c
push eax
call fcn.0043d9ea
add esp, 8
lea edx, [esp + 0x84]
add eax, 2
lea ecx, [esp + 0x28c]
push eax
call fcn.0041d370
add esp, 8
lea eax, [esp + 0x288]
push 1
push eax
lea eax, [esp + 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41c764
push 0x820
lea eax, [esp + 0x69c]
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [esp + 0x288]
push eax
push str.__s_
lea eax, [esp + 0x6a0]
push 0x410
push eax
call fcn.0041d860
add esp, 0x10
mov dword [esp + 0x18], 0
mov esi, eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x18], 1
mov edi, 0x410
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 1
jle 0x41c661
nop dword [eax + eax]
mov eax, edi
lea ecx, [esp + 0x698]
sub eax, esi
lea ecx, [ecx + esi*2]
push eax
mov edx, 0x473544
call fcn.0040fd90
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x69c]
add esi, eax
add esp, 4
mov eax, edi
sub eax, esi
push eax
mov eax, dword [esp + 0x20]
lea ecx, [ecx + esi*2]
mov edx, dword [eax + edx*4]
call fcn.0040fd90
add esi, eax
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jl 0x41c610
sub edi, esi
lea ecx, [esp + 0x698]
push edi
lea ecx, [ecx + esi*2]
mov edx, 0x4721c4
call fcn.0040fd90
add eax, esi
add esp, 4
cmp eax, 0x410
jae 0x41c764
push 0x40
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0x44
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x88]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c764
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
lea eax, [esp + 0x288]
push eax
call edi
cmp eax, 0xffffffff
je 0x41c720
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x80]
push eax
call edi
cmp eax, 0xffffffff
je 0x41c74e
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x41c703
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xebc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret