Function at 0x1400587a0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov r15, rsi
nop dword [rax]
inc r15
cmp byte [rbx + r15], 0
jne 0x1400587f0
mov r14, rsi
nop dword [rax]
inc r14
cmp byte [rbx + r14], 0
jne 0x140058800
mov r12, rsi
nop dword [rax]
inc r12
cmp byte [rbx + r12], 0
jne 0x140058810
lea rcx, [rbp - 0x40]
movzx r9d, r15b
mov r8, rax
xor edx, edx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
call fcn.1400a84d0
movzx edi, r15b
mov dword [rsp + 0x48], edi
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
lea rax, [0x1400ed4d4]
movsd qword [rbp - 0x48], xmm1
movups xmmword [rbp - 0x58], xmm0
cmp r14d, edi
jl 0x140058875
lea r8, str.psychoanalyst
lea rcx, [rbp - 0x40]
mov r9, rax
xor edx, edx
call fcn.1400b6e30
call fcn.1400bd150
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [0x1400ed4d4]
lea rcx, [rbp + 0x20]
mov r13, rax
mov qword [rsp + 0x40], rax
lea rax, str.fertilizer
mov qword [rbp - 0x78], rdx
mov r8d, 0x140
xor edx, edx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
mov dword [rbp - 0x80], 4
call fcn.1400e27d0
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov dword [rbp - 0x5c], 1
movzx eax, ax
mov dword [rbp - 0x60], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [0x1400ed4d4]
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
mov qword [rsp + 0x58], rax
lea rax, str.ottoman
mov dword [rsp + 0x30], 0x10
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rbp - 0x70]
movsd xmm1, qword [rbp - 0x60]
mov qword [rsp + 0x28], rcx
mov r9, rcx
mov rcx, r13
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
mov qword [rsp + 0x20], rax
call fcn.1400bc690
mov rdx, rax
mov qword [rsp + 0x50], rax
cmp r14d, edi
je 0x140058a25
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, str.c3a3
xor r9d, r9d
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x68], rax
call fcn.1400d1b10
lea rcx, [rbp + 0x20]
xor edx, edx
mov r8d, 0x140
mov r13, rax
call fcn.1400e27d0
lea rdx, [rbp + 0x20]
lea rcx, str.c3a3
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400589a2
mov rax, rsi
nop
inc rax
cmp byte [r13 + rax], 0
jne 0x1400589b0
add dil, al
mov rax, qword [rsp + 0x50]
imul byte [rsp + 0x68]
shl al, 2
add dil, al
movzx eax, byte [rsp + 0x60]
imul byte [rsp + 0x58]
add al, 9
add dil, al
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx r8, dil
lea rdx, str.minister
xor ecx, ecx
mov r9, r8
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov edi, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [0x1400ed4d4]
lea rcx, str.meaning
movzx r8d, dil
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r13, qword [rsp + 0x40]
mov edi, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140058a30
mov eax, dword [rsp + 0x58]
imul ecx, edi
imul edi, edx, 7
imul eax, dword [rbp - 0x70]
add eax, eax
sub ecx, eax
add ecx, dword [rbp - 0x48]
add edi, ecx
add edi, r12d
add edi, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp + 0x20]
mov edx, 0x104
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r8, rsi
mov r9, rax
inc r8
cmp byte [rbx + r8], 0
jne 0x140058a76
mov rdx, qword [rsp + 0x50]
movzx eax, r15b
movzx ecx, dl
imul byte [rsp + 0x60]
sub cl, al
sub cl, r13b
sub cl, byte [rbp - 0x50]
add r8b, cl
nop dword [rax + rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140058aa0
imul r13d, dword [rbp - 0x50]
mov byte [rsp + 0x28], r8b
mov r8, qword [rsp + 0x40]
mov eax, 0xfffffff7
sub eax, r13d
sub eax, edx
mov edx, edi
sub eax, dword [rsp + 0x58]
sub eax, r12d
add esi, eax
mov dword [rsp + 0x20], esi
call fcn.14006cc80
lea rcx, str.c3a5
xor edx, edx
call fcn.1400b8f60
cmp r14d, r12d
jge 0x140058aee
call fcn.1400901a0
lea rax, str.peer_to_peer
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret