Function at 0x140016e90
Capabilities:
Copy file
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov byte [rsp + 0x60], r9b
mov r12, r8
mov r14, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rsi, 0xffffffffffffffff
mov rdx, rax
mov qword [rbp - 0x78], rax
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140016ef0
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140016f00
imul cl
mov r8, rdx
mov rdx, rbx
movzx r15d, al
lea rax, [0x1400ed4fc]
mov rcx, rax
movzx r9d, r15b
mov qword [rsp + 0x20], rax
call fcn.1400363f0
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [0x140001b00]
mov rbx, rax
mov qword [rbp - 0x20], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov r9d, r15d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9b, 8
mov rcx, rbx
mov r8, rax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x20], 0
call fcn.140045ab0
mov r13, rax
mov qword [rbp - 0x10], rax
cmp r15b, 8
jbe 0x140017042
call fcn.14004d8f0
mov edx, 7
xor ecx, ecx
lea r8d, [rdx + 0x16]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, str.lion
mov r8, rax
mov rcx, rbx
call fcn.140024210
mov r8, rsi
mov ecx, eax
nop dword [rax]
cmp byte [r14 + r8 + 1], 0
lea r8, [r8 + 1]
jne 0x140016fc0
mov rax, rsi
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x140016fd0
mov rdx, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x20]
add edx, eax
lea eax, [rcx*4]
movzx ecx, r15b
sub ecx, eax
lea eax, [rdx + r8]
mov edx, 0x104
add ecx, 0xfffffffb
add ecx, dword [rsp + 0x78]
add ecx, ebx
add eax, ecx
lea rcx, [rbp + 0x70]
mov dword [rbp - 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rbp + 0x40]
movups xmm0, xmmword [rbp - 0x60]
movsd xmm1, qword [rbp - 0x50]
mov edx, eax
movaps xmmword [rbp + 0x40], xmm0
movsd qword [rbp + 0x50], xmm1
call fcn.14003f220
call fcn.14003bd70
mov dword [rsp + 0x68], eax
cmp r15b, al
jbe 0x1400171b9
xor ecx, ecx
lea rax, str.drill
mov qword [rbp + 0x48], rcx
mov ecx, 0xffff
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
xor r8d, r8d
mov rdx, r12
mov dword [rbp + 0x50], eax
mov rax, qword [rsp + 0x78]
mov rcx, rdi
mov qword [rbp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx r9d, byte [rsp + 0x60]
xor ecx, ecx
mov dword [rbp + 0x60], eax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov ecx, dword [rsp + 0x68]
mov qword [rbp - 0x58], rax
movzx eax, r15b
lea r8, [0x1400ed4fc]
mov rdx, r12
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r9d
mov qword [rbp - 0x60], rbx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [rsp + 0x68]
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
xor edx, edx
mov qword [rbp - 0x40], rcx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], 1
call fcn.1400e27d0
lea rdx, [rbp + 0x70]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x213
lea r8d, [rcx + 0xd]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r9d, byte [rsp + 0x60]
lea r8, [0x140001b00]
mov qword [rbp - 0x28], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8, qword [rsp + 0x78]
lea r9, [rbp]
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
lea rcx, [rbp - 0x60]
mov rdx, rbx
mov qword [rsp + 0x28], rax
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x30], xmm1
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbp + 0x50]
movsd xmm0, qword [rbp + 0x60]
movaps xmmword [rbp - 0x50], xmm1
movsd qword [rbp - 0x40], xmm0
call fcn.140046510
call fcn.14004d8f0
xor ecx, ecx
mov edx, 0x2d0
lea r8d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.c0a0
lea rdx, [0x1400ed4fc]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x40]
mov r8, rax
mov qword [rbp - 0x18], rax
call fcn.140047160
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea r8, str.c0a4
mov rdx, r13
movzx ecx, al
mov dword [rsp + 0x64], eax
call fcn.14002d5a0
lea rcx, [rbp + 0x40]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140017240
mov r8, qword [rbp - 0x80]
mov edx, dword [rbp - 0x60]
mov rax, rsi
imul ecx, r8d
sub edx, ecx
sub edx, ebx
nop dword [rax]
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140017260
lea ebx, [rax + 4]
add ebx, edx
mov dword [rsp + 0x6c], ebx
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
mov rcx, rsi
movzx edx, ax
mov dword [rsp + 0x70], edx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140017284
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x140017291
imul ecx, eax
movsx rax, byte [rsp + 0x64]
imul ecx, dword [rbp - 0x78]
add ecx, eax
movzx eax, r15b
sub ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
add ecx, eax
mov rax, rsi
nop dword [rax + rax]
cmp byte [r13 + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400172c0
lea r15d, [rax - 7]
mov r8d, edx
mov rdx, qword [rbp - 0x80]
add r15d, ecx
mov ecx, ebx
mov r9d, r15d
call fcn.14001e330
mov rdx, rsi
mov rbx, rax
nop word [rax + rax]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400172f0
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x140017300
imul r15d, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x80]
mov r13, qword [rbp - 0x20]
add ecx, eax
movsx eax, byte [rsp + 0x64]
add edx, ecx
imul eax, dword [rbp - 0x38]
sub r15d, eax
lea eax, [r13*4]
add eax, r13d
sub r15d, eax
sub r15d, dword [rbp - 0x18]
add r15d, 0xfffffffe
add r15d, dword [rbp - 0x70]
add edx, r15d
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.140057970
mov rdx, rsi
inc rdx
cmp byte [r14 + rdx], 0
jne 0x140017356
mov rax, rsi
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140017363
lea ecx, [r15 + rax]
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x140017375
mov eax, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x6c]
add edx, ecx
mov ecx, dword [rsp + 0x70]
lea eax, [rax*8]
add edx, r8d
imul ecx, r15d
sub ecx, eax
lea eax, [r13 + 5]
add ecx, edx
lea rdx, str.himalayan
add eax, ecx
lea rcx, str.rank
mov r8d, eax
mov dword [rsp + 0x6c], eax
call fcn.140022100
mov dword [rsp + 0x64], eax
test r15d, r15d
jne 0x1400174c9
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx r15d, ax
mov ecx, r15d
call fcn.140020a40
mov rcx, rsi
mov rdx, rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400173e5
imul ecx, dword [rsp + 0x70]
imul r15d, dword [rsp + 0x6c]
movzx eax, byte [rsp + 0x60]
mov r10, qword [rsp + 0x78]
mov r11, qword [rbp - 0x78]
imul ecx, r10d
neg ecx
shl ecx, 2
sub ecx, r15d
sub ecx, eax
mov rax, rsi
sub ecx, dword [rsp + 0x68]
sub ecx, r13d
sub ecx, r11d
add ecx, edx
add ecx, dword [rbp - 0x40]
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140017430
lea r9d, [rcx - 0x22]
add r9d, eax
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x140017444
add r9d, eax
mov rcx, rsi
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140017453
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x140017460
imul cl
mov rcx, rsi
movzx r8d, al
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140017472
movzx eax, r10b
imul cl
add r8b, al
movzx eax, dl
imul byte [rsp + 0x64]
movzx ecx, al
shl cl, 3
add al, cl
add r8b, al
sub r8b, byte [rbp - 0x80]
sub r8b, r11b
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x1400174a0
add r8b, 4
lea rdx, str.stepson
mov rcx, r11
add r8b, sil
mov qword [rsp + 0x20], r13
add r8b, byte [rbp - 0x70]
call fcn.140042cf0
mov rax, r13
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret