Function at 0x14002b5f0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
xor r14d, r14d
mov rbx, r9
mov r12d, r8d
mov esi, edx
mov r15, rcx
cmp r8d, edx
jbe 0x14002b7d7
lea r8, [0x140001b00]
mov r9d, esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov r14d, r15d
mov r13, rax
imul ecx, r12d
sub r14d, ecx
sub r14d, ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r12d
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, esi
mov rdi, rax
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x68], rax
mov r12, rax
lea rax, str.star
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov r9, r15
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x60]
mov r8d, r14d
mov rdx, r13
movsd qword [rbp + 0x10], xmm1
mov qword [rsp + 0x20], rax
call fcn.1400a3690
mov rsi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, r15d
shl ecx, 4
mov qword [rbp + 0x40], rax
lea rax, [0x1400ed86c]
add ecx, dword [rbp + 0xd0]
mov dword [rbp + 0x48], 8
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x4c], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rbp + 0xd0]
mov edx, ebx
mov qword [rbp + 0x58], rax
imul ebx, dword [rbp + 0xd8]
imul edx, ecx
sub edi, ebx
add edi, ecx
mov ecx, r14d
lea eax, [rsi + rdx*4]
add edi, r14d
add eax, r13d
mov dword [rbp + 0x64], edi
mov dword [rbp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [rbp + 0xd0]
mov qword [rbp + 0x68], rax
sub r12d, r13d
lea eax, [rcx - 4]
add eax, r15d
mov qword [rbp - 0x28], r15
add r12d, esi
mov dword [rbp - 0x38], eax
mov eax, ecx
lea r10, str.c0a0
sub eax, ebx
xor r14d, r14d
mov qword [rbp + 0x70], rcx
sub eax, r15d
mov r15, rcx
mov qword [rbp + 0x78], r10
add r12d, r15d
mov qword [rbp - 0x40], 8
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x20], r12d
mov dword [rbp - 0x34], eax
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
lea r8, [rbp]
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov rcx, r10
mov qword [rsp + 0x20], r14
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
call fcn.1400cd9e0
mov esi, dword [rbp + 0xd8]
mov r12d, dword [rbp + 0xe0]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov rcx, r15
mov r8, rax
mov r13, rax
mov qword [rsp + 0x68], rax
call fcn.1400acf50
lea r8, [0x140001b00]
mov r9d, esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rax
lea rax, str.retina
mov qword [rbp - 0x70], rax
lea rax, str.soup
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp], r14
mov edi, eax
mov dword [rsp + 0x44], eax
lea rax, str.link
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov qword [rbp + 0x18], r14
movups xmm0, xmmword [rbp]
movzx eax, ax
lea rcx, str.minister
mov r9d, edi
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x70]
mov dword [rbp + 0x10], eax
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x30], xmm1
call fcn.14008eb10
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r14d, dword [rbp + 0xe8]
lea ecx, [rdi + rdi*2]
mov qword [rsp + 0x78], rax
imul r14d, r12d
mov r12d, dword [rsp + 0x70]
add ecx, ecx
imul r12d, dword [rsp + 0x48]
sub r12d, ecx
add r12d, r14d
add r12d, r15d
add r12d, esi
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x14002b8c1
sub r14d, r13d
xor ecx, ecx
mov edx, 0x9a
sub r14d, edi
lea r8d, [rcx + 0x11]
add r14d, r15d
sub r14d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
mov rdx, rax
mov qword [rbp - 0x50], rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002b8f1
movzx eax, dil
movzx edi, byte [rbp + 0xe8]
mov r8d, r14d
imul cl
mov rcx, qword [rsp + 0x78]
sub dil, al
sub dil, 6
add dil, r15b
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x28], rdx
mov edx, r12d
mov byte [rbp + 0xd0], dil
call fcn.140087a90
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx edx, dil
movzx eax, ax
mov dword [rbp - 0x80], edx
mov rcx, rsi
mov dword [rsp + 0x4c], eax
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002b950
mov r13d, dword [rsp + 0x70]
mov dword [rbp - 0x70], 8
lea r9, [rbp - 0x70]
imul r13d, dword [rsp + 0x44]
sub r13d, ecx
lea rcx, str.runaway
mov qword [rbp - 0x68], rcx
lea rcx, str.c3a0
imul r13d, dword [rsp + 0x68]
sub r13d, edx
mov qword [rsp + 0x20], rcx
mov dl, 1
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
add r13d, dword [rsp + 0x60]
mov ecx, eax
mov r8d, r13d
call fcn.140077270
mov edx, dword [rsp + 0x60]
mov ecx, r15d
imul ecx, r15d
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x68]
imul edx, eax
add edx, ecx
sub edx, r13d
sub edx, dword [rsp + 0x44]
add edx, eax
mov rax, qword [rsp + 0x70]
add eax, 2
add eax, edx
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r9d, dword [rbp - 0x80]
mov edx, dword [rsp + 0x78]
mov r8d, r9d
mov qword [rbp - 0x40], rax
imul r8d, dword [rsp + 0x4c]
mov dword [rbp - 0x38], 2
mov rcx, rsi
imul edx, r12d
mov dword [rsp + 0x5c], r8d
mov dword [rsp + 0x50], edx
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002ba10
mov edi, dword [rsp + 0x68]
lea eax, [r15*2 + 4]
sub eax, edx
xor edx, edx
sub eax, dword [rsp + 0x40]
imul edi, dword [rsp + 0x44]
sub eax, dword [rsp + 0x48]
add eax, r8d
xor r8d, r8d
add ecx, eax
lea rax, str.dune_buggy
mov qword [rsp + 0x28], r8
add ecx, dword [rbp + 0xd8]
mov qword [rbp - 0x30], rax
mov eax, dword [rsp + 0x40]
mov dword [rbp - 0x34], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x20], r8
mov dword [rsp + 0x20], r8d
mov qword [rbp - 0x28], rcx
imul eax, ecx
imul eax, r13d
sub edi, eax
mov eax, r12d
xor ecx, ecx
imul eax, dword [rbp + 0x10]
sub edi, eax
sub edi, r9d
lea r9d, [r8 + 1]
lea r8, [0x140001b00]
sub edi, r14d
add edi, r15d
mov dword [rbp - 0x18], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [rsp + 0x54]
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov ecx, r15d
mov dword [rsp + 0x58], eax
lea r9, str.c5a4
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
lea r8, [rbp]
imul ecx, dword [rbp + 0xd8]
sub ecx, dword [rsp + 0x5c]
sub ecx, dword [rbp - 0x50]
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
sub ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x68]
sub ecx, r12d
add ecx, 0xe
add ecx, r13d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x40], ecx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400a8220
mov r10d, dword [rsp + 0x50]
mov ecx, dword [rbp - 0x48]
imul ecx, r13d
mov r9, qword [rbp + 0xe8]
sub r10d, ecx
mov r8, rax
sub r10d, dword [rbp - 0x50]
mov qword [rbp - 0x70], rax
mov eax, dword [rsp + 0x40]
add r10d, dword [rsp + 0x58]
add r10d, dword [rsp + 0x68]
add r10d, r9d
add r10d, r15d
mov dword [rsp + 0x50], r10d
imul eax, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, r14d
sub ecx, eax
mov eax, dword [rsp + 0x78]
imul eax, dword [rsp + 0x44]
sub ecx, eax
mov eax, dword [rsp + 0x58]
sub ecx, r8d
sub ecx, edi
mov edi, dword [rbp + 0xd8]
imul eax, dword [rsp + 0x54]
sub ecx, dword [rsp + 0x4c]
shl eax, 5
sub ecx, dword [rbp + 0xe0]
add ecx, 0xd
add ecx, dword [rsp + 0x48]
add ecx, r9d
add ecx, r15d
add ecx, edi
mov dword [rbp + 0xd8], ecx
mov ecx, dword [rsp + 0x78]
imul ecx, dword [rsp + 0x70]
imul ecx, dword [rsp + 0x44]
imul ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, dword [rbp + 0xd8]
sub ecx, dword [rbp - 0x80]
sub ecx, dword [rbp - 0x50]
sub ecx, dword [rsp + 0x4c]
sub ecx, r9d
mov r9d, r10d
sub ecx, edi
add ecx, r8d
lea r8, str.c3ret
add ecx, r15d
mov r15, qword [rsp + 0x70]
add ecx, dword [rbp + 0xe0]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x28], eax
mov rcx, r15
mov qword [rsp + 0x20], r15
call fcn.14006ce60
mov r9d, eax
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14002bc14
movzx eax, byte [rsp + 0x78]
movzx ecx, r15b
shl cl, 2
add r15b, cl
movzx ecx, byte [rbp + 0xd0]
imul sil
movzx edx, al
mov eax, dword [rsp + 0x48]
sub cl, r15b
add al, al
add dl, al
movzx eax, byte [rsp + 0x60]
add dl, byte [rbp - 0x48]
shl dl, 2
imul cl
movzx r8d, al
mov rax, qword [rsp + 0x68]
lea ecx, [rax + 1]
sub r8b, dl
mov edx, dword [rsp + 0x50]
imul cl
add r8b, al
movzx eax, byte [rbp - 0x18]
imul byte [rsp + 0x54]
sub r8b, al
movzx eax, r13b
imul byte [rsp + 0x4c]
movzx ecx, al
mov al, 7
imul cl
sub r8b, al
sub r8b, byte [rsp + 0x40]
sub r8b, r9b
sub r8b, r12b
sub r8b, byte [rsp + 0x5c]
sub r8b, byte [rbp + 0xe0]
sub r8b, dil
sub r8b, byte [rbp - 0x70]
sub r8b, byte [rbp + 0xe8]
lea eax, [r14 + r8]
add al, byte [rsp + 0x58]
add al, byte [rbp + 0xd8]
add al, dl
add al, byte [rsp + 0x44]
add al, byte [rbp - 0x50]
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret