Function at 0x140025da0
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
movzx eax, byte [rbp + 0x200]
mov r12, qword [rbp + 0x208]
mov rbx, qword [rbp + 0x210]
mov byte [rsp + 0x60], al
movzx r13d, r9b
mov dword [rsp + 0x6c], r8d
mov r15, rdx
mov edi, ecx
mov dword [rsp + 0x64], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
mov r14, rsi
nop word [rax + rax]
inc r14
cmp byte [rbx + r14], 0
jne 0x140025e10
add r14d, edi
lea r8, str.fanny_pack
mov rcx, rax
mov edx, r14d
call fcn.1400ce7b0
lea rdx, str.fanny_pack
mov r8d, r14d
mov byte [rsp + 0x61], al
movzx eax, byte [rsp + 0x6c]
imul dil
movzx ecx, al
movzx eax, byte [rsp + 0x60]
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x70]
imul cl
mov rcx, r12
mov byte [rsp + 0x62], al
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r8, qword [rsp + 0x70]
mov r9d, eax
mov dword [rsp + 0x68], eax
lea rax, [0x1400ed3f4]
movzx edx, r13b
mov qword [rbp - 0x78], r8
mov rcx, rsi
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x78], edx
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140025e90
mov eax, edi
imul eax, edx
sub eax, 0xa
add ecx, eax
lea rax, str.fanny_pack
mov qword [rbp - 0x60], rax
movzx eax, byte [rsp + 0x61]
mov dword [rbp - 0x68], ecx
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140025ec0
imul ecx, edi
imul ecx, edx
mov rdx, rsi
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140025ed3
movups xmm0, xmmword [rbp - 0x78]
movups xmm1, xmmword [rbp - 0x68]
add ecx, r8d
lea eax, [rax + rax*4]
add ecx, edx
movzx edx, byte [rsp + 0x62]
lea eax, [rcx + rax*2]
mov qword [rbp - 0x50], r8
lea r8, str.inlay
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x58], eax
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x78]
movups xmm0, xmmword [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [0x1400ed7c8]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, str.hook
call fcn.1400aa740
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
movsd qword [rbp - 0x10], xmm0
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140025f60
movzx eax, byte [rsp + 0x60]
lea r8, str.c1a1
mov edx, 1
imul cl
movzx r13d, al
movzx eax, byte [rsp + 0x68]
imul r14b
movzx ecx, al
shl cl, 2
add al, cl
shl al, 2
add r13b, al
sub r13b, byte [rsp + 0x70]
add r13b, 2
add r13b, dil
movzx ecx, r13b
call fcn.1400b5dc0
mov ebx, eax
cmp r14d, 1
jne 0x14002611f
call fcn.14006c910
mov r8d, dword [rsp + 0x6c]
mov rcx, rsi
mov rdi, rax
imul r8d, dword [rsp + 0x64]
nop
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140025fd0
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x140025fe0
add ecx, dword [rbp - 0x18]
mov rax, qword [rsp + 0x70]
movzx r9d, byte [rsp + 0x62]
lea eax, [rax + rax*4]
shl r9d, 2
add ecx, edx
add eax, eax
mov dword [rbp - 0x78], 0
sub r9d, eax
movsx eax, byte [rsp + 0x60]
add r9d, eax
movsx rax, r13b
add r9d, eax
sub r9d, ebx
add r9d, ecx
movzx ecx, byte [rsp + 0x61]
add r9d, r8d
mov dword [rbp - 0x80], r9d
imul eax, ecx, 0x32
mov ecx, dword [rsp + 0x68]
neg ecx
shl ecx, 2
sub ecx, eax
lea eax, [r8 + 4]
add eax, ecx
mov dword [rbp - 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov qword [rbp - 0x70], rax
lea rax, str.cormorant
lea r8d, [rcx + 0x1c]
mov qword [rbp - 0x68], rax
lea rax, [0x1400ed3f4]
mov edx, 0x368
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x40]
mov edx, 0x104
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rbp - 0x50], rax
mov rax, rsi
nop
inc rax
cmp byte [r15 + rax], 0
jne 0x140026090
imul eax, dword [rsp + 0x64]
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400260a2
add eax, dword [rbp - 0x30]
imul ecx, ebx
lea ecx, [rax + rcx*4]
mov rax, qword [rsp + 0x70]
add eax, 0xffffffcb
add eax, ecx
mov dword [rbp - 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, 0xffff
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov r9d, dword [rbp - 0x80]
movups xmm0, xmmword [rbp - 0x78]
movups xmm1, xmmword [rbp - 0x68]
mov dword [rsp + 0x30], eax
lea rax, [rbp]
lea rcx, [rbp - 0x78]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x58]
movsd xmm1, qword [rbp - 0x48]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
call fcn.1400d6260
call fcn.1400cf420
mov edi, dword [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
nop dword [rax + rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x140026130
mov eax, dword [rsp + 0x68]
movsxd r13, dword [rsp + 0x6c]
add eax, 2
imul edx, r13d
lea ecx, [rax + rax*4]
mov eax, dword [rbp - 0x30]
lea eax, [rax*4]
sub ecx, eax
add ecx, edi
movzx edi, byte [rsp + 0x62]
add ecx, edx
add edi, ecx
lea rcx, str.azimuth
add edi, dword [rsp + 0x78]
add edi, r14d
call fcn.1400d2910
mov qword [rbp - 0x80], rax
cmp r13d, 1
jl 0x14002622e
lea rcx, [rbp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
movsx ecx, byte [rsp + 0x60]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r9, rax
inc rsi
cmp byte [r15 + rsi], 0
jne 0x1400261b4
movzx eax, byte [rsp + 0x61]
movzx edx, r14b
mov rcx, r12
shl dl, 2
imul byte [rsp + 0x70]
lea r8d, [rdx + r14]
lea rdx, str.master
add r8d, eax
movzx eax, byte [rbp - 0x20]
add r8b, r8b
imul bl
sub r8b, al
movzx eax, byte [rbp - 0x80]
imul dil
sub r8b, al
lea rax, str.c1a2
sub r8b, r13b
mov qword [rsp + 0x30], rax
lea rax, [0x1400ed3f4]
sub r8b, byte [rsp + 0x60]
mov qword [rsp + 0x28], rax
add r8b, byte [rsp + 0x64]
sub r8b, sil
mov byte [rsp + 0x20], r8b
lea r8, str.c0a2
call fcn.1400b0a80
call fcn.1400addf0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9, str.c8ret
lea rcx, [0x1400ee018]
call fcn.1400846d0
movsx r10d, byte [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
movzx ecx, byte [rsp + 0x61]
mov qword [rsp + 0x40], r13
lea r8, [0x1400ee018]
mov dword [rsp + 0x38], ecx
mov r9d, ecx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], ecx
lea rdx, str.brush
mov ecx, r14d
mov dword [rsp + 0x20], r10d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x188
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x8c
lea r8d, [rdx - 0x7c]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rax, str.mary
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret