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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d958
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.00418450
add esp, 4
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x44]
sub eax, 0x10
push eax
call fcn.004112d0
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 0x41170f
mov eax, 0xf08c
mov ebx, 0xf
mov word [ebp - 0x2c], ax
mov eax, 0xf089
mov word [ebp - 0x2a], ax
mov eax, 0xf0a6
mov word [ebp - 0x28], ax
mov eax, 0xf0b5
mov word [ebp - 0x26], ax
mov eax, 0xf0b8
mov word [ebp - 0x24], ax
mov eax, 0xf0a1
mov word [ebp - 0x22], ax
mov eax, 0xf088
mov word [ebp - 0x20], ax
mov eax, 0xf0e0
mov word [ebp - 0x1e], ax
mov eax, 0xf0a9
mov word [ebp - 0x1c], ax
mov eax, 0xf0fc
mov word [ebp - 0x1a], ax
mov eax, 0xf0b9
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], ax
mov eax, 0xf0b2
mov word [ebp - 0x14], ax
mov eax, 0xf0dc
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, 0x270f0d0
mov edx, 0x4912e7bb
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi - 0xf30]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x2c], ax
inc edi
cmp edi, 0xe
jb 0x4114c1
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, 0xf08c
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
xor edi, edi
mov eax, 0xf089
or ebx, 0xffffffff
mov word [ebp - 0x46], ax
mov eax, 0xf0a6
mov word [ebp - 0x44], ax
mov eax, 0xf0b5
mov word [ebp - 0x42], ax
mov eax, 0xf0b8
mov word [ebp - 0x40], ax
mov eax, 0xf0a1
mov word [ebp - 0x3e], ax
mov eax, 0xf088
mov word [ebp - 0x3c], ax
mov eax, 0xf0e0
mov word [ebp - 0x3a], ax
mov eax, 0xf0a9
mov word [ebp - 0x38], ax
mov eax, 0xf0fc
mov word [ebp - 0x36], ax
mov eax, 0xf0b9
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], ax
mov eax, 0xf0b2
mov word [ebp - 0x30], ax
mov eax, 0xf0dc
mov word [ebp - 0x2e], ax
mov ax, word [ebp - 0x48]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x48]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x4912e7bb
cmovae ecx, eax
mov eax, 0x270f0d0
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi - 0xf30]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x48], ax
inc edi
cmp edi, 0xe
jb 0x4115a0
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 0x4116d1
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 0x411790
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.00459e50
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 0x411695
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 0x4116b3
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 0x4116d1
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 0x4116f1
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 0x41170f
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 0x41172d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x411753
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x411753
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x411753
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 0x411772
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.0046c16d
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.00459e50
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 0x4117f5
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 0x411813
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 0x411831
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x4116d3