Function at 0x140043520
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 - 0x78]
sub rsp, 0x178
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov dword [rsp + 0x64], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, edi
mov rbx, rax
mov qword [rbp - 0x70], rax
call fcn.140085ab0
mov r15, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rsi, 0xffffffffffffffff
mov r12, rax
mov qword [rbp - 0x68], rax
mov rcx, rsi
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140043570
imul eax, ecx, 0xf
mov ecx, edi
lea r8, str.slice
sub ecx, eax
mov rdx, r12
mov dword [rbp + 0xd8], ecx
mov r9d, ecx
mov rcx, rbx
call fcn.1400d1b10
mov ecx, 0xffff
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
xor ecx, ecx
lea r8d, [rcx + 0x10]
mov edx, 0x1ad
mov r13d, eax
mov dword [rbp + 0xc8], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, edi
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8, qword [rsp + 0x68]
xor ebx, ebx
mov r9, r12
mov ecx, r13d
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x20], rax
call fcn.14009b0c0
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea r8d, [rbx + 0x15]
movzx r12d, ax
mov edx, 0x113
xor ecx, ecx
mov dword [rbp + 0xd0], r12d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x30], rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, r15
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
mov r13, rax
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, str.slice
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x70]
imul eax, edi
sub eax, dword [rsp + 0x68]
add eax, dword [rbp - 0x58]
add eax, dword [rbp + 0xc8]
mov dword [rsp + 0x74], eax
mov dword [rbp + 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [rbp - 0x68]
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x20], rcx
lea eax, [rax*4]
add ecx, 0xfffffff7
sub eax, dword [rbp - 0x78]
add eax, ecx
add eax, dword [rbp - 0x58]
add eax, edi
mov dword [rbp + 0x28], eax
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
lea rax, str.c0a3
mov ecx, r12d
mov qword [rsp + 0x30], rax
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rbp + 0x20]
movsd xmm1, qword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x50]
movsd qword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
call fcn.140088fa0
mov r12, rax
mov rax, rsi
nop
inc rax
cmp byte [r14 + rax], bl
jne 0x140043710
imul ecx, eax, 0xfffffffb
mov eax, dword [rsp + 0x74]
shl eax, 5
sub ecx, eax
mov rax, rsi
sub ecx, dword [rbp - 0x70]
sub ecx, dword [rbp - 0x80]
sub ecx, dword [rbp - 0x78]
add ecx, 0xfffffff9
add ecx, dword [rbp - 0x68]
add ecx, dword [rbp + 0xc8]
nop dword [rax]
inc rax
cmp byte [r12 + rax], bl
jne 0x140043740
add ecx, edi
add ecx, eax
mov rax, rsi
inc rax
cmp byte [r15 + rax], bl
jne 0x140043750
add ecx, eax
lea r8, str.c0a3
mov dword [rbp + 0xc0], ecx
mov edx, ecx
lea rcx, str.world
call fcn.1400780d0
mov rcx, rsi
mov r8d, eax
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], bl
jne 0x140043780
add ecx, ecx
mov rax, rsi
sub ecx, dword [rbp - 0x68]
add ecx, ecx
sub ecx, dword [rbp + 0xd0]
add ecx, dword [rbp + 0x28]
add ecx, edi
nop
inc rax
cmp byte [r15 + rax], bl
jne 0x1400437a0
sub ecx, eax
mov rax, rsi
nop
inc rax
cmp byte [r14 + rax], bl
jne 0x1400437b0
lea edx, [rcx + 0xb]
mov rdi, rsi
add edx, eax
mov dword [rsp + 0x70], edx
inc rdi
cmp byte [r14 + rdi], bl
jne 0x1400437c5
movzx eax, byte [rbp + 0x28]
xor ecx, ecx
add al, al
add dil, al
shl dil, 2
sub dil, byte [rbp + 0xc0]
sub dil, byte [rbp + 0xd8]
add dil, 5
add dil, byte [rsp + 0x64]
add dil, r8b
add dil, byte [rbp - 0x80]
add dil, byte [rbp - 0x48]
add dil, byte [rsp + 0x68]
movzx r9d, dil
call fcn.140094fc0
mov qword [rbp - 0x20], rax
cmp dil, byte [rbp + 0xd8]
jne 0x14004382b
lea rcx, str.c0a1
mov edx, 0x20
call fcn.1400b8f60
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x372
lea r8d, [rcx + 0x1d]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbp + 0xc0]
mov r9d, dword [rbp + 0xc8]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp + 0xd0]
mov dword [rsp + 0x60], eax
movzx eax, dil
lea r8, str.c0a3
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov ecx, dword [rbp + 0xd8]
mov rdx, r12
mov dword [rsp + 0x78], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], bl
jne 0x1400438b8
mov ebx, 2
mov rax, rsi
sub bl, byte [rbp + 0xd0]
sub bl, cl
inc rax
cmp byte [r12 + rax], 0
jne 0x1400438d0
mov ecx, dword [rsp + 0x70]
movaps xmm0, xmmword [rbp - 0x50]
mov r9d, dword [rsp + 0x60]
mov r8, qword [rbp - 0x60]
add bl, al
movzx eax, cl
movdqa xmmword [rbp - 0x20], xmm0
shl bl, 2
shl al, 2
lea rdx, str.c0a3
add cl, al
lea rax, str.sheet
sub bl, cl
mov rcx, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
sub bl, byte [rbp - 0x78]
lea rax, [rbp - 0x20]
sub bl, byte [rbp - 0x70]
add bl, byte [rsp + 0x64]
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rax
call fcn.1400d6ce0
movzx edx, bl
mov byte [rbp + 0xc0], al
movsx eax, byte [rsp + 0x60]
mov dword [rsp + 0x70], edx
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140043947
imul r13d, dword [rbp + 0xd0]
imul eax, dword [rbp - 0x50]
imul ecx, dword [rsp + 0x78]
mov ebx, dword [rsp + 0x64]
sub r13d, eax
mov rax, rsi
imul ecx, dword [rbp - 0x60]
sub r13d, ecx
sub r13d, edx
sub r13d, dword [rsp + 0x74]
sub r13d, dword [rbp + 0xc8]
add r13d, dword [rbp - 0x80]
add r13d, ebx
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140043990
sub r13d, eax
add r13d, 0xd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9, str.c2a5
lea rdx, str.c7a6
mov ecx, r13d
mov r8, rax
mov qword [rbp - 0x20], rax
call fcn.14006df30
mov rcx, rsi
mov r8d, eax
nop word [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400439d0
movsx rax, byte [rbp + 0xc0]
mov r9, qword [rbp - 0x68]
mov rdx, qword [rbp + 0x30]
imul edx, dword [rbp + 0xd0]
add ecx, eax
mov eax, r9d
lea ecx, [rcx + rcx*4]
imul eax, dword [rsp + 0x68]
imul eax, dword [rbp + 0xc8]
add eax, edx
mov rdx, qword [rbp - 0x70]
sub eax, r13d
add eax, dword [rbp + 0x28]
lea edx, [rdx + rax*2]
mov eax, dword [rsp + 0x70]
add edx, edx
sub edx, ecx
mov ecx, dword [rsp + 0x60]
imul eax, dword [rbp - 0x50]
sub edx, eax
movsx eax, cl
imul eax, dword [rbp - 0x60]
sub edx, eax
mov rax, rsi
sub edx, dword [rsp + 0x78]
sub edx, dword [rbp - 0x80]
sub edx, dword [rbp - 0x58]
add edx, dword [rbp - 0x20]
add edx, dword [rbp - 0x30]
add edx, r8d
add edx, dword [rbp - 0x78]
add edx, r9d
add edx, dword [rbp + 0xd8]
add edx, ebx
inc rax
cmp byte [r15 + rax], 0
jne 0x140043a52
sub edx, eax
mov rax, rsi
inc rax
cmp byte [r12 + rax], 0
jne 0x140043a61
sub edx, eax
nop dword [rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x140043a70
lea eax, [rdx - 0x1d]
add eax, esi
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret