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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movzx r13d, cl
xor esi, esi
mov qword [rsp + 0x68], r9
mov r14d, r8d
mov r15d, r13d
cmp r8d, r13d
jge 0x140062db7
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea r8d, [rsi + 0x10]
mov edx, 0x253
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movsx rbx, dil
lea r8, [0x140001b00]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [rsi + 0x11]
mov edx, 0x107
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
movsx r9d, dil
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], 0xd
lea r8, [0x1400ed3f4]
lea rdx, [0x1400ed3b8]
mov ecx, r13d
mov dword [rsp + 0x28], 0xd
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea r8d, [rsi + 0x13]
mov edx, 0x22f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x2b0
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r14d
mov rsi, rax
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbp, rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r8d, r8d
mov edx, 0x317
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r14d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r12, rax
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
mov r9, rax
mov qword [rsp + 0x78], rax
movzx edx, r13b
lea r8d, [r15 + r15]
imul ecx, r12d
mov r12d, ebx
lea eax, [r8 - 6]
sub r12d, ecx
mov ecx, edi
add r12d, 2
imul ecx, edx
sub ecx, esi
add ecx, r14d
add eax, ecx
mov dword [rsp + 0x64], eax
mov eax, ebp
imul eax, edi
imul eax, esi
imul eax, edx
sub eax, ebx
add eax, 0x11
add eax, r14d
add eax, r8d
add eax, r12d
mov dword [rsp + 0x60], eax
cmp r14d, r15d
jg 0x140063077
movzx ebx, r9b
movzx eax, bpl
sub bl, byte [rsp + 0x68]
imul byte [rsp + 0x70]
add bl, bl
sub bl, al
sub bl, r14b
sub bl, 0x12
add bl, r13b
add bl, sil
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rax, qword [rsp + 0x78]
movzx ebp, bl
lea ecx, [rsi + rsi]
mov edx, 0x64
imul eax, dword [rsp + 0x64]
lea ebx, [r15*2 + 0x28]
lea r8d, [rdx - 0x59]
imul ebx, dword [rsp + 0x68]
add ebx, eax
movzx eax, r13b
sub ebx, ecx
xor ecx, ecx
sub ebx, dword [rsp + 0x90]
sub ebx, eax
add ebx, edi
add ebx, ebp
add ebx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, str.clasp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [r15 + r15*4]
imul ebx, edi
add ebx, dword [rsp + 0x64]
lea ecx, [rcx*4 + 1]
mov esi, eax
movzx eax, r13b
imul ecx, dword [rsp + 0x68]
lea edx, [rcx + rbx*8]
mov rbx, qword [rsp + 0x88]
sub edx, dword [rsp + 0x70]
xor ecx, ecx
add ebx, 0xfffffff9
sub edx, edi
lea r8d, [rcx + 0xd]
sub edx, dword [rsp + 0x80]
sub edx, eax
add ebx, edx
mov edx, 0x1cc
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov eax, r12d
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov r14d, dword [rsp + 0x60]
lea rdi, str.c5a5
lea r8, str.dune_buggy
mov rdx, rdi
mov ecx, 2
mov r9d, r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0x1d
xor ecx, ecx
lea r8d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
movzx eax, r13b
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
movsx r10d, sil
lea r8, [0x1400ed3b8]
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r14d
lea rdx, str.clasp
movzx r9d, r13b
mov ecx, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
lea r8d, [rcx + 0x14]
mov edx, 0x9d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rax, rdi
jmp 0x14006307e
lea rax, str.c5a5
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x238]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret