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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov r13, r8
mov r14, rdx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, qword [rsp + 0x150]
movsx r12, r14b
mov esi, r12d
mov rbp, rax
sub esi, eax
add esi, 0x44
or rdi, 0xffffffffffffffff
mov rdx, rdi
nop word [rax + rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400ab390
mov eax, r14d
xor ecx, ecx
sub eax, esi
lea r8d, [rcx + 5]
add eax, 0x82
add eax, edx
mov edx, 0x1e6
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.mocha
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea eax, [r12 + r12]
mov rcx, rdi
mov dword [rsp + 0x68], eax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400ab3e3
mov r13, qword [rsp + 0x148]
shl eax, 6
mov edx, 0x2fe
sub eax, dword [r13 + 0x38]
sub eax, dword [rsp + 0x70]
sub eax, ebp
sub eax, ebp
sub eax, esi
add eax, r14d
sub eax, ecx
xor ecx, ecx
add eax, 0x40
lea r8d, [rcx + 8]
mov dword [rsp + 0x90], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
movsx ecx, r14b
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x138], ecx
lea rdx, [0x1400ed3b8]
lea r8, [0x1400ed3b8]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [r13 + 0x2c]
add ecx, dword [rsp + 0x70]
mov eax, 2
lea r8, [0x140001b00]
sub al, bpl
xor edx, edx
imul ecx, r14d
sub ecx, esi
sub al, sil
add ecx, 0x100b
mov dword [rsp + 0x64], eax
movsx rax, al
mov dword [rsp + 0x78], ecx
xor ecx, ecx
mov r9, rax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx r13d, ax
movzx eax, r14b
imul r13b
shl al, 2
mov byte [rsp + 0x130], al
test esi, esi
je 0x1400ab525
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
movsx ecx, byte [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx eax, byte [rsp + 0x130]
movzx r10d, al
mov rax, qword [rsp + 0x80]
mov edx, ebp
lea r8d, [rax*8]
shl edx, 6
mov rcx, rdi
mov dword [rsp + 0x94], r8d
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400ab550
mov r11, qword [rsp + 0x148]
mov r9, qword [rsp + 0x140]
imul eax, r10d, 7
imul ecx, dword [r11 + 0x2c]
imul ecx, r12d
mov r12d, r14d
sub ecx, 2
imul ecx, ebp
sub ecx, eax
mov eax, dword [rsp + 0x60]
sub ecx, edx
add eax, 0xc
add ecx, r8d
mov r8d, dword [rsp + 0x78]
add ecx, dword [rsp + 0x88]
add ecx, r13d
add ecx, r9d
add ecx, r8d
add eax, ecx
mov rcx, rdi
mov dword [r15], eax
imul eax, dword [rsp + 0x80], 0x58
imul r12d, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400ab5c0
mov eax, dword [r11 + 0x10]
shl edx, 4
sub edx, r13d
add edx, dword [rsp + 0xb8]
imul eax, r9d
inc eax
imul eax, r14d
lea eax, [rax + rdx*4]
add eax, 0xfffffff0
sub eax, dword [rsp + 0x68]
sub eax, r8d
add eax, r10d
add ecx, eax
mov eax, dword [rsp + 0x138]
add ecx, dword [rsp + 0x88]
add ecx, ebp
add ecx, r12d
add ecx, dword [rsp + 0x64]
add ecx, esi
mov dword [r15 + 4], ecx
mov rcx, rdi
imul eax, ebp
lea edx, [rax + rax]
mov dword [rsp + 0x68], edx
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400ab620
imul ecx, dword [r11 + 0x38]
mov eax, r10d
imul eax, r13d
imul eax, r14d
imul eax, eax, 0x1c
add ecx, eax
mov eax, dword [rsp + 0xb8]
imul eax, ebp
lea ecx, [rcx + rax*8]
mov eax, dword [rsp + 0x70]
imul eax, dword [rsp + 0x60]
add ecx, eax
lea eax, [rdx - 0x83]
lea rdx, str.hail
sub ecx, dword [rsp + 0x88]
sub ecx, r9d
sub ecx, r8d
lea r8, str.pressure
sub ecx, dword [rsp + 0x64]
add eax, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov dword [r15 + 8], eax
movzx eax, byte [rsp + 0x130]
lea r9d, [rcx + 0x40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x40
mov dword [rsp + 0x30], ecx
mov ecx, esi
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, rdi
mov qword [r15 + 0x10], rax
mov rax, qword [rsp + 0x88]
lea r11d, [rax + rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400ab6d7
movzx eax, byte [rsp + 0x130]
mov r9, qword [rsp + 0x140]
mov r10, qword [rsp + 0x148]
imul eax, r13d
imul edx, dword [r10 + 0x10]
mov r8d, dword [rsp + 0x78]
shl eax, 2
mov ecx, r9d
sub ecx, eax
lea eax, [rbp - 0x552]
imul ecx, r14d
add edx, ecx
lea ecx, [rax + rax*2]
add edx, ecx
imul eax, r8d, 0x37
sub edx, eax
mov eax, dword [rsp + 0x138]
sub edx, dword [rsp + 0xb8]
sub edx, dword [rsp + 0x80]
sub edx, r11d
add edx, dword [rsp + 0x70]
add edx, dword [rsp + 0x68]
add edx, r12d
mov dword [r15 + 0x18], edx
mov rdx, rdi
imul eax, ebp
mov dword [rsp + 0x138], eax
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400ab760
mov ecx, dword [r10 + 0x30]
mov r10d, dword [rsp + 0x90]
mov eax, 6
sub eax, r10d
imul ecx, r9d
mov r9, qword [rsp + 0x140]
sub ecx, r13d
sub eax, ebp
imul ecx, r14d
lea ecx, [rcx + rax*4]
lea eax, [r8 + r8*4]
sub ecx, eax
movzx eax, byte [rsp + 0x130]
sub ecx, dword [rsp + 0x94]
sub ecx, r12d
add eax, ecx
add edx, eax
add edx, dword [rsp + 0x138]
add edx, r11d
add edx, dword [rsp + 0x70]
add edx, esi
mov dword [r15 + 0x1c], edx
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400ab7c5
imul r13d, dword [rsp + 0x80]
movzx edx, byte [rsp + 0x130]
imul r10d, ebp
lea eax, [r10*4 + 1]
lea ecx, [r13*8 + 1]
mov r13, qword [rsp + 0x148]
imul eax, ebp
imul r12d, esi
imul ecx, r14d
sub ecx, eax
mov eax, dword [rsp + 0x138]
add ecx, r12d
add ecx, dword [r13 + 0x20]
sub ecx, edx
sub ecx, r11d
sub ecx, dword [rsp + 0x70]
add eax, ecx
add edi, eax
lea eax, [r8 + 0x90]
add edi, r9d
add eax, edi
mov dword [r15 + 0x20], eax
lea rax, str.baobab
mov qword [r15 + 0x28], rax
lea rax, str.c6a1
mov qword [r15 + 0x30], rax
mov rax, r15
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret