Function at 0x140068eb0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rsp + 0x2a8]
movzx eax, cl
mov r12, rdx
mov qword [rsp + 0xb8], rdx
mov rbp, rcx
mov qword [rsp + 0xc8], rcx
imul sil
movzx r15d, al
mov qword [rsp + 0xc0], rsi
shl r15b, 2
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
mov ecx, esi
mov edx, 0x22e
mov qword [rsp + 0xa8], rax
imul ebx, r14d
imul ecx, r12d
shl ecx, 2
imul ebx, edi
sub ebx, ecx
xor ecx, ecx
lea r8d, [rcx + 7]
add ebx, ebp
mov dword [rsp + 0x88], ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13d, eax
mov dword [rsp + 0xa0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
imul ecx, r14d, 7
mov edx, esi
lea eax, [rbp - 0xc]
sub edx, ecx
mov ecx, edi
lea edi, [rbx*4 + 2]
add eax, edx
mov dword [rsp + 0xb0], eax
imul ecx, r13d
add edi, ecx
mov dword [rsp + 0x6c], edi
imul eax, r14d, 0x2a
sub eax, esi
sub eax, r12d
add eax, ebp
mov dword [rsp + 0xb4], eax
movsx eax, r15b
mov dword [rsp + 0x9c], eax
cmp edi, eax
jne 0x140068fe5
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx r13d, ax
mov dword [rsp + 0x70], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
movzx eax, byte [rsp + 0x78]
imul bl
movzx ecx, al
mov al, 7
imul cl
movzx ecx, al
movzx eax, r13b
imul r13b
movzx edi, al
sub dil, cl
movzx ecx, sil
add cl, cl
lea edx, [rcx + rsi]
xor ecx, ecx
add dl, dl
lea r8d, [rcx + 7]
sub dil, dl
mov edx, 0x318
sub dil, byte [rsp + 0x68]
sub dil, 0x67
add dil, r12b
add dil, bpl
mov byte [rsp + 0x60], dil
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
lea r8d, [rcx + 0x17]
mov edx, 0x9c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x17e
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xf0]
mov edx, 0x104
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0xf0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xf0]
lea rcx, str.lion
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x117
lea r8d, [rcx + 0x13]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsx rax, r13b
lea edx, [rsi + rsi*2]
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0xe0], rax
add edx, edx
movsx r8, r15b
mov ecx, ebp
mov dword [rsp + 0x98], edx
mov qword [rsp + 0xd8], r8
imul eax, dword [rsp + 0x68]
imul eax, dword [rsp + 0x80]
shl eax, 2
sub ecx, eax
lea eax, [r14 + 0x83]
sub ecx, ebx
add ecx, edx
add ecx, r8d
add ecx, esi
add eax, ecx
mov dword [rsp + 0x64], eax
cmp r13b, bl
jg 0x14006913a
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
imul r12d, dword [rsp + 0x78], 7
lea r8, str.root
mov r13, rax
mov eax, dword [rsp + 0x70]
lea rdx, str.c0a2
movsx r15d, al
lea ecx, [r15*8]
sub ecx, dword [rsp + 0x80]
add ecx, ebp
shl ecx, 2
sub ecx, eax
movsxd rax, dword [rsp + 0x64]
sub ecx, r14d
lea r14d, [rsi + 2]
mov esi, dword [rsp + 0x6c]
add ecx, r12d
add ecx, dword [rsp + 0xa0]
add r14d, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x10
lea r9d, [rcx + 0x20]
mov dword [rsp + 0x30], esi
mov ecx, r15d
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0xee
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rax, qword [rsp + 0xb8]
movsx ecx, dil
imul ecx, dword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
mov edx, 1
sub edx, ecx
mov ecx, r13d
imul edx, dword [rsp + 0x78]
imul ecx, r14d
lea ecx, [rax + rcx*2]
mov eax, dword [rsp + 0x80]
lea r8d, [rdx + rcx*4]
mov ecx, dword [rsp + 0x90]
imul eax, esi
mov esi, dword [rsp + 0x68]
add eax, edi
imul ecx, ebx
add eax, r8d
add esi, 0x85
add ecx, eax
add ecx, dword [rsp + 0x98]
add ecx, dword [rsp + 0x64]
add esi, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movsxd rcx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x9c]
xor edx, edx
mov r9d, ecx
lea r8, str.root
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ecx
lea rdx, str.prompt
mov ecx, eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov eax, dword [rsp + 0xa8]
imul eax, dword [rsp + 0x90]
imul eax, dword [rsp + 0x78]
imul eax, ebx
movsxd rbx, dword [rsp + 0x70]
lea ecx, [rax + rax*2]
mov rax, qword [rsp + 0xe0]
add ecx, ecx
imul eax, ebx
add edi, 0x15
imul eax, dword [rsp + 0xb4]
lea rdx, str.pencil
xor r8d, r8d
imul eax, eax, 0xb
sub ecx, eax
sub ecx, dword [rsp + 0xc0]
sub ecx, dword [rsp + 0x64]
add ecx, dword [rsp + 0xb8]
add edi, ecx
lea rcx, str.gazebo
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x64]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
lea r8, str.c0a2
lea rdx, str.gazebo
mov ecx, eax
mov r9d, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rdx, str.mustard
lea rcx, str.c5a0
mov r8d, 0x10
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x2a4
lea r8d, [rcx + 0x17]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [rsp + 0x64]
imul r15d, dword [rsp + 0x70]
imul ebx, ebp
lea ecx, [r14 + r14*4]
sub edx, ecx
imul ebx, edi
imul ebx, esi
lea ecx, [rbx + rdx*2]
mov rdx, qword [rsp + 0xd8]
sub edx, eax
lea eax, [rdx + rdx*2]
add ecx, eax
mov eax, dword [rsp + 0x68]
add ecx, ecx
sub ecx, r15d
imul eax, dword [rsp + 0x6c]
imul eax, eax, 0xb
sub ecx, eax
mov rax, qword [rsp + 0x80]
imul eax, dword [rsp + 0xb0]
add ecx, eax
mov rax, qword [rsp + 0xa8]
imul eax, dword [rsp + 0x88]
add ecx, eax
movsx rax, byte [rsp + 0x60]
sub ecx, eax
lea eax, [r13 + 0x6b]
sub ecx, r12d
sub ecx, dword [rsp + 0x90]
sub ecx, dword [rsp + 0x78]
add ecx, dword [rsp + 0xc0]
add ecx, dword [rsp + 0xc8]
add eax, ecx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x290]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret