Function at 0x1400298d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
movups xmm0, xmmword [rcx]
movzx esi, byte [rbp + 0x240]
movups xmm1, xmmword [rcx + 0x10]
xor ebx, ebx
movzx r12d, r9b
mov r13, r8
mov r14, rdx
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x33], sil
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rcx + 0x20]
movaps xmmword [rbp - 0x10], xmm0
cmp r9b, sil
jl 0x140029959
lea rdx, [0x1400edfe8]
lea rcx, [rbp - 0x78]
xor r8d, r8d
call fcn.14008e4a0
mov edx, dword [rbp - 0x30]
mov qword [rsp + 0x20], rbx
add edx, r13d
call fcn.1400b6f80
movsx edi, r12b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movsx ecx, sil
mov r8, r13
mov edx, ecx
mov dword [rsp + 0x3c], ecx
mov ecx, r13d
mov qword [rsp + 0x60], rax
imul edx, edi
mov edi, dword [rbp - 0x18]
imul ecx, edx
mov dword [rbp - 0x7c], edx
sub edi, ecx
mov rcx, rax
mov edx, edi
mov dword [rsp + 0x40], edi
call fcn.1400ccd90
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, r15
movsxd rdi, edi
movsx rsi, sil
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rdi
mov r8, rsi
mov rcx, rax
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x34], eax
mov rdx, rsi
inc rdx
cmp byte [r15 + rdx], bl
jne 0x1400299d0
mov edi, dword [rbp - 0x18]
movzx eax, r14b
mov r8d, 0x140
imul dil
lea ecx, [rax + 1]
movzx eax, r13b
imul cl
lea rcx, [rbp + 0x80]
movzx r14d, al
sub r14b, r12b
sub r14b, dl
xor edx, edx
call fcn.1400e27d0
lea rdx, [rbp + 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [rsp + 0x58]
mov rdx, rax
mov qword [rbp - 0x78], rax
movzx eax, byte [rsp + 0x60]
movzx ecx, dil
movzx r8d, r14b
imul byte [rsp + 0x33]
sub cl, al
add cl, r12b
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x34]
mov byte [rsp + 0x30], cl
mov ecx, dword [rsp + 0x38]
call fcn.140083db0
mov rcx, rsi
mov rdi, rax
inc rcx
cmp byte [rax + rcx], bl
jne 0x140029a67
movzx eax, byte [rsp + 0x58]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x60]
imul cl
mov r8, qword [rbp - 0x78]
movsx r9d, byte [rsp + 0x30]
movzx ecx, al
movzx eax, r11b
imul r12b
add cl, al
lea rax, str.c2ret
sub cl, r10b
mov qword [rbp - 0x68], rax
mov eax, r10d
add cl, byte [rbp - 8]
imul eax, r13d
add cl, r13b
mov byte [rsp + 0x32], cl
movzx ecx, r14b
mov r14, rsi
mov dword [rsp + 0x44], ecx
imul eax, ecx
imul eax, dword [rsp + 0x3c]
mov ecx, dword [rbp - 0x20]
mov edx, ecx
sub edx, eax
sub edx, r8d
add edx, r9d
mov dword [rsp + 0x48], edx
mov dword [rbp - 0x60], edx
nop dword [rax]
inc r14
cmp byte [rdi + r14], bl
jne 0x140029ae0
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [r15 + rax], bl
jne 0x140029af0
mov edx, dword [rsp + 0x34]
imul r9d, dword [rsp + 0x44]
imul r14d, eax
lea rax, str.c2ret
mov qword [rbp - 0x58], rax
mov rax, rsi
imul r14d, r8d
imul r14d, edx
sub r14d, r10d
sub r14d, r11d
add r14d, ecx
mov dword [rbp - 0x5c], r14d
imul r9d, r8d
nop
inc rax
cmp byte [r15 + rax], bl
jne 0x140029b30
mov r8, qword [rbp - 0x10]
imul eax, r13d
movsx ecx, r12b
imul eax, r11d
imul eax, ecx
sub eax, r9d
sub eax, edx
mov rdx, rsi
inc rdx
cmp byte [r8 + rdx], bl
jne 0x140029b54
add eax, r10d
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], bl
jne 0x140029b63
add eax, edx
mov edx, r10d
mov qword [rbp - 0x48], r10
add ecx, eax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x40], rax
lea rax, [0x1400ee40c]
mov dword [rbp - 0x50], ecx
imul edx, r13d
mov qword [rbp - 0x38], rax
lea rax, str.alcove
mov dword [rsp + 0x68], edx
mov qword [rbp], rax
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], bl
jne 0x140029ba3
movsx rax, byte [rsp + 0x30]
mov r10d, dword [rsp + 0x40]
imul ecx, eax
sub edx, ecx
movsx rax, r12b
sub edx, eax
mov rax, rsi
sub edx, r13d
sub edx, r11d
sub edx, dword [rsp + 0x38]
sub edx, r10d
inc rax
cmp byte [r8 + rax], bl
jne 0x140029bd1
add edx, eax
mov rcx, rsi
mov dword [rbp + 8], edx
inc rcx
cmp byte [r8 + rcx], bl
jne 0x140029be2
mov rdx, rsi
nop
inc rdx
cmp byte [rdi + rdx], bl
jne 0x140029bf0
mov eax, r11d
movsx r8d, r12b
add ecx, r9d
add ecx, edx
mov edx, 0x42
mov qword [rbp + 0x18], rbx
imul eax, r8d
lea r8d, [r13*2]
sub r8d, eax
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x38]
sub r8d, eax
lea rax, str.clove
add r8d, ecx
xor ecx, ecx
mov qword [rbp + 0x10], rax
add r8d, r10d
mov dword [rsp + 0x78], r8d
mov dword [rbp + 0xc], r8d
lea r8d, [rdx - 0x25]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ebx, byte [rsp + 0x32]
lea r8, [rbp + 0x40]
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
mov qword [rbp + 0x20], rax
lea rdx, [rbp]
movzx ecx, bl
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
movsd xmm0, qword [rbp + 0x20]
movups xmm1, xmmword [rbp - 0x58]
movsd qword [rbp + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0x10], xmm1
movsd xmm1, qword [rbp - 0x38]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x48]
movsd qword [rbp + 0x30], xmm1
movaps xmmword [rbp + 0x20], xmm0
call fcn.140082f90
mov dword [rsp + 0x6c], ebx
mov edx, eax
mov dword [rsp + 0x70], eax
mov eax, ebx
mov r12, rsi
inc r12
cmp byte [rdi + r12], 0
jne 0x140029cb2
mov ecx, dword [rsp + 0x60]
imul eax, r14d
mov r14, qword [rsp + 0x50]
imul ecx, dword [rsp + 0x3c]
sub ecx, eax
lea eax, [rdx - 5]
sub ecx, r14d
sub ecx, dword [rbp - 0x78]
add ecx, dword [rbp - 0x18]
add ecx, r13d
add eax, ecx
mov ecx, 0xffff
add r12d, eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea r8, str.caravan
mov edx, r12d
xor ecx, ecx
movzx r9d, al
mov ebx, eax
mov dword [rsp + 0x3c], eax
call fcn.1400bfc10
mov ecx, 0xffff
mov byte [rsp + 0x31], al
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
xor edx, edx
xor ecx, ecx
mov r14d, eax
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rax
mov ecx, r14d
mov qword [rsp + 0x50], rax
call fcn.14007bf00
mov edx, dword [rsp + 0x6c]
movzx r14d, al
cmp r12d, edx
jne 0x140029dcc
movzx eax, byte [rsp + 0x30]
imul byte [rsp + 0x34]
movzx ecx, al
movzx eax, byte [rsp + 0x58]
add cl, byte [rsp + 0x32]
imul cl
movzx edx, al
movzx eax, byte [rsp + 0x33]
imul byte [rbp - 8]
add dl, al
movzx eax, byte [rsp + 0x60]
imul byte [rsp + 0x40]
add dl, al
sub dl, r13b
sub dl, byte [rsp + 0x50]
sub dl, r14b
sub dl, bl
add dl, 7
add dl, byte [rsp + 0x31]
call fcn.14007e400
mov rdx, qword [rbp - 0x78]
xor ecx, ecx
call fcn.140087f20
xor ecx, ecx
mov edx, 0x249
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ecx, byte [rsp + 0x31]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, rbx
mov r8, rax
xor ecx, ecx
call fcn.1400acf50
mov edx, dword [rsp + 0x6c]
mov rbx, rsi
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140029dd0
imul ebx, dword [rbp - 0x78]
mov ecx, r13d
mov eax, r12d
movzx r14d, r14b
imul ecx, dword [rsp + 0x68]
imul eax, edx
imul ecx, dword [rsp + 0x60]
imul eax, dword [rsp + 0x78]
imul ecx, dword [rsp + 0x38]
sub eax, ecx
mov ecx, dword [rbp - 0x18]
add ebx, eax
mov eax, dword [rsp + 0x50]
sub ebx, dword [rsp + 0x34]
add ebx, ecx
add ebx, dword [rsp + 0x44]
imul eax, r14d
imul ecx, r13d
imul ecx, dword [rsp + 0x58]
imul ecx, dword [rsp + 0x40]
add ecx, eax
movsx rax, byte [rsp + 0x3c]
sub ecx, eax
movsx rax, byte [rsp + 0x31]
add ecx, eax
movsx eax, byte [rsp + 0x30]
sub ecx, dword [rsp + 0x70]
sub ecx, eax
sub ecx, dword [rsp + 0x48]
sub ecx, 7
mov dword [rsp + 0x48], ecx
mov edx, ecx
mov ecx, ebx
call fcn.1400c6a80
mov qword [rsp + 0x78], rax
cmp byte [rsp + 0x33], bl
je 0x140029e6c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call fcn.1400c6d60
lea rcx, [rbp + 0x40]
call fcn.14007c440
mov rdx, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x58], xmm1
movsd xmm1, qword [rax + 0x30]
movups xmmword [rbp - 0x48], xmm0
movsd qword [rbp - 0x38], xmm1
nop dword [rax]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140029ea0
movsx eax, byte [rsp + 0x30]
imul r13d, dword [rsp + 0x60]
movsx ecx, byte [rsp + 0x31]
imul r13d, dword [rsp + 0x40]
imul edx, eax
movsx eax, byte [rsp + 0x3c]
imul edx, dword [rbp - 0x78]
imul ecx, eax
movsx rax, byte [rsp + 0x32]
sub ecx, r13d
add edx, ecx
add edx, eax
sub edx, dword [rsp + 0x50]
sub edx, dword [rsp + 0x58]
sub edx, dword [rsp + 0x48]
sub edx, r12d
sub edx, r14d
sub edx, dword [rsp + 0x68]
sub edx, dword [rsp + 0x44]
sub edx, dword [rsp + 0x38]
add edx, dword [rbp - 8]
add edx, dword [rbp - 0x68]
add edx, dword [rsp + 0x78]
add edx, ebx
add edx, dword [rbp - 0x80]
add edx, dword [rsp + 0x70]
add edx, dword [rbp - 0x7c]
add edx, dword [rsp + 0x34]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x140029f13
sub edx, esi
lea eax, [rdx + 2]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret