Function at 0x14006a160
Capabilities:
Copy file
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbx, qword [rsp + 0x360]
mov rsi, qword [rsp + 0x368]
mov rbp, r9
mov r15, r8
mov qword [rsp + 0x50], rdx
movsx r14d, cl
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx eax, byte [rbx]
movzx r12d, byte [rsp + 0x370]
add al, r14b
lea rcx, [rsp + 0x60]
add al, r12b
mov edx, 0x104
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, r14d
mov r13d, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
lea r8d, [rcx + 0x14]
mov edx, 0x184
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14006a235
movzx eax, r12b
mov r12, qword [rsp + 0x38]
imul edi, eax
sub edi, dword [r12]
add edi, r13d
cmp r14b, 2
jg 0x14006a25d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor eax, eax
lea r8, [0x140001b00]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 2]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0x58], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x60]
lea rcx, str.mary
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, 4
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x1a0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x1a0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
movsx rdx, r14b
mov rcx, rbx
mov r8, rax
mov qword [rsp + 0x48], rdx
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14006a300
imul ecx, dword [r12 + 0x24]
lea eax, [rcx + rcx*2]
lea r14d, [rdx + rax*4]
lea eax, [r13*8 + 0xa]
imul r8d, r14d
add eax, r8d
mov dword [rsp + 0x38], eax
cmp edi, 8
jae 0x14006a335
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov edx, 0x5f
lea r8d, [rdx - 0x5a]
xor ecx, ecx
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9, rbx
nop word [rax + rax]
inc r9
cmp byte [r9 + rbp], 0
jne 0x14006a370
imul r9d, dword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
lea edx, [rax + rdi*2]
movzx eax, r12b
add edx, edx
imul eax, dword [rsp + 0x38]
imul ecx, eax, 0xfffffffb
movzx eax, byte [rsp + 0x30]
sub ecx, edx
add r9d, ecx
sub r9d, eax
sub r9d, r13d
sub r9d, dword [rsp + 0x58]
add r9d, 0xfffffffd
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14006a3b0
add r9d, dword [rsp + 0x48]
mov r8d, 5
mov rdx, rsi
mov rcx, r15
add ebx, r9d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x197
lea r8d, [rcx + 0x14]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp edi, 5
je 0x14006a43c
xor ecx, ecx
mov edx, 0x253
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x25d
lea r8d, [rcx + 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rax, str.c8a0
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret