Function at 0x41a257
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x43f322
call fcn.0043b810
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call fcn.00402a01
xor edi, edi
push 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
call fcn.004028ea
mov dword [ebp - 0x44], 0x4444e0
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.00417768
cmp dword [ebp - 0x3c], edi
jne 0x41a2c1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00426735
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a2b
jmp 0x41a5f5
lea ecx, [ebp - 0xb0]
call fcn.00402991
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00416f4e
mov ecx, esi
call fcn.0040f9a8
test al, al
je 0x41a5a9
cmp byte [ebp + 8], 0
je 0x41a5a9
cmp byte [0x45577c], 0
jne 0x41a43a
lea ecx, [ebp - 0x18]
call fcn.0041b8ff
mov dword [ebp - 0x18], 0x4452bc
xor esi, esi
cmp dword [ebp - 0x3c], edi
mov byte [ebp - 4], 3
jle 0x41a3d6
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
push dword [eax + edi*4]
lea eax, [ebp - 0x7c]
push eax
call fcn.00417b3c
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 4
call fcn.0040fa30
push ebx
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.004036cc
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403109
push dword [ebp - 0x88]
call fcn.0042690e
push dword [ebp - 0x70]
call fcn.0042690e
push dword [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.0042690e
mov eax, dword [ebp - 0x2c]
add esp, 0xc
lea eax, [eax + esi + 1]
cmp dword [ebp - 0x14], eax
jae 0x41a3a0
sub eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b8ce
mov eax, dword [ebp - 0x2c]
inc eax
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x30]
add eax, esi
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov byte [ebp - 4], 3
lea esi, [esi + eax + 1]
call fcn.0042690e
add esp, 0x10
inc edi
cmp edi, dword [ebp - 0x3c]
jl 0x41a322
xor edi, edi
lea eax, [esi + 1]
cmp dword [ebp - 0x14], eax
jae 0x41a3ea
sub eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b8ce
mov eax, dword [ebp - 0x10]
and byte [eax + esi], 0
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040eceb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x58], edi
mov word [ebp - 0x54], 0x40
mov dword [ebp - 0x52], edi
mov dword [ebp - 0x4e], edi
mov dword [ebp - 0x4a], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x4452b8
jmp 0x41a5a1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], 0x4452b4
xor esi, esi
cmp dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0xb
mov dword [ebp + 8], edi
jle 0x41a4fc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
push dword [eax + edi*4]
lea eax, [ebp - 0x70]
push eax
call fcn.00417b3c
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040fa30
push ebx
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.004036cc
push dword [ebp - 0x7c]
call fcn.0042690e
push dword [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.0042690e
mov eax, dword [ebp - 0x2c]
pop ecx
cmp eax, dword [ebp + 8]
pop ecx
jle 0x41a4ad
mov dword [ebp + 8], eax
lea ecx, [eax + esi + 1]
cmp dword [ebp - 0x14], ecx
jae 0x41a4c5
sub ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041b910
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x30]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
lea esi, [esi + eax + 1]
call fcn.0042690e
add esp, 0x10
inc edi
cmp edi, dword [ebp - 0x3c]
jl 0x41a459
xor edi, edi
lea eax, [esi + 1]
cmp dword [ebp - 0x14], eax
jae 0x41a510
sub eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b910
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], 0x104
mov word [eax + esi*2], di
jl 0x41a534
mov ecx, dword [ebp - 0x1c]
push 0x3020218
push 0x8aa
call fcn.0040f894
jmp 0x41a57b
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040eceb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
push str.SHFileOperationW
push 0x453c78
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edi
mov word [ebp - 0x54], 0x40
mov dword [ebp - 0x52], edi
mov dword [ebp - 0x4e], edi
mov dword [ebp - 0x4a], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x41a58d
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x4452b0
call fcn.0042690e
pop ecx
jmp 0x41a5c2
lea ecx, [ebp - 0x64]
push ecx
call eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x4452b0
call fcn.0042690e
pop ecx
jmp 0x41a5b4
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0041a616
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.00416fda
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00402ad4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00426735
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0x24]
mov byte [ecx + 0x190], al
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp - 0x23]
mov byte [eax + 0x191], cl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4