Function at 0x411390
Capabilities:
Check if file exists
Copy file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004183f0
add esp, 4
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
call fcn.00427810
mov ecx, eax
call fcn.004277e0
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x44]
sub eax, 0x10
push eax
call fcn.004112a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
xor edi, edi
or ebx, 0xffffffff
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], edi
je 0x4116e2
mov eax, 0x604c
mov ebx, 0xf
mov word [ebp - 0x2c], ax
mov eax, 0x6041
mov word [ebp - 0x2a], ax
mov eax, 0x6062
mov word [ebp - 0x28], ax
mov eax, 0x6078
mov word [ebp - 0x26], ax
mov eax, 0x6071
mov word [ebp - 0x24], ax
mov eax, 0x6067
mov word [ebp - 0x22], ax
mov eax, 0x6040
mov word [ebp - 0x20], ax
mov eax, 0x6020
mov word [ebp - 0x1e], ax
mov eax, 0x6069
mov word [ebp - 0x1c], ax
mov eax, 0x6032
mov word [ebp - 0x1a], ax
mov eax, 0x6072
mov word [ebp - 0x18], ax
mov eax, 0x6079
mov word [ebp - 0x16], ax
mov eax, 0x6049
mov word [ebp - 0x14], ax
mov eax, 0x602c
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x2c]
mov ax, word [ebp + edi*2 - 0x2c]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xc6d56014
mov edx, 0x11d5a81f
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x6014]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x2c], ax
inc edi
cmp edi, 0xe
jb 0x411496
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040c920
add esp, 0xc
mov eax, 0x604c
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
xor edi, edi
mov eax, 0x6041
or ebx, 0xffffffff
mov word [ebp - 0x46], ax
mov eax, 0x6062
mov word [ebp - 0x44], ax
mov eax, 0x6078
mov word [ebp - 0x42], ax
mov eax, 0x6071
mov word [ebp - 0x40], ax
mov eax, 0x6067
mov word [ebp - 0x3e], ax
mov eax, 0x6040
mov word [ebp - 0x3c], ax
mov eax, 0x6020
mov word [ebp - 0x3a], ax
mov eax, 0x6069
mov word [ebp - 0x38], ax
mov eax, 0x6032
mov word [ebp - 0x36], ax
mov eax, 0x6072
mov word [ebp - 0x34], ax
mov eax, 0x6079
mov word [ebp - 0x32], ax
mov eax, 0x6049
mov word [ebp - 0x30], ax
mov eax, 0x602c
mov word [ebp - 0x2e], ax
mov ax, word [ebp - 0x48]
mov ax, word [ebp + edi*2 - 0x48]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x11d5a81f
cmovae ecx, eax
mov eax, 0xc6d56014
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x6014]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x48], ax
inc edi
cmp edi, 0xe
jb 0x411573
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040c920
add esp, 0xc
push dword [ebp - 0x50]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 4
call esi
test eax, eax
je 0x4116a4
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x4c]
call esi
push 0x5726b4
test eax, eax
jne 0x411763
lea ecx, [ebp - 0x60]
call fcn.0040ad40
push 0x5726b4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0040ad40
push str.7z_copy_fail
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040ad40
mov byte [ebp - 4], 7
call fcn.00459db0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x5c]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x58]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411668
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411686
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4116a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4116c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4116e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411700
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x411726
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x411726
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x411726
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x411745
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c10d
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x6c]
call fcn.0040ad40
push 0x5726b4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.0040ad40
push str.7z_copy_success
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.0040ad40
mov byte [ebp - 4], 0xa
call fcn.00459db0
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x68]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x64]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4117c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4117e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411804
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x4116a6