Function at 0x140018a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov r13, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, 1
lea r9d, [rsi + 3]
lea rcx, str.numeracy
mov r8d, esi
mov rdx, rax
mov r12, rax
call fcn.14001a780
mov dword [rsp + 0x148], eax
call fcn.1400403b0
lea rcx, str.wrist
mov rbx, rax
mov qword [rsp + 0x68], rax
call fcn.14004f0e0
mov r14, rax
mov qword [rsp + 0x70], rax
call fcn.14005bf30
lea r8, str.c0a0
mov rdx, r14
mov cl, 0x20
mov r15, rax
mov qword [rsp + 0x90], rax
call fcn.14002d5a0
mov rdx, r14
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea r8, str.theoretician
lea ecx, [rsi + 7]
mov rdx, rax
mov r9, r12
mov rdi, rax
mov qword [rsp + 0x78], rax
call fcn.140043230
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0x140], eax
mov ecx, r15d
lea r8, str.fahrenheit
mov r9, r12
mov rdx, r12
imul ecx, r14d
lea r14d, [rcx + 0x14]
mov dword [rsp + 0x9c], ecx
lea r14d, [r14 + r12*2]
add r14d, ebx
add r14d, eax
lea rax, str.c6a2
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x80]
mov ecx, r14d
movaps xmm0, xmmword [rsp + 0x80]
mov qword [rsp + 0x28], rax
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x138], r14d
call fcn.140052650
mov dword [rsp + 0x60], eax
cmp r14d, 4
je 0x140018b83
lea rcx, str.rainmaker
call fcn.1400307f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, 0x11
xor ecx, ecx
lea edx, [r14 + 0x78]
mov r8d, r14d
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9d, dword [rsp + 0x140]
lea r8, str.numeracy
mov rdi, rax
mov qword [rsp + 0x80], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x138]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
lea rdx, str.c0a0
mov ecx, r9d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, rdi
mov ecx, r15d
mov r8, rax
mov rbx, rax
call fcn.14002cfe0
mov r9d, dword [rsp + 0x138]
or rdi, 0xffffffffffffffff
mov rsi, rax
cmp r9d, dword [rsp + 0x148]
jae 0x140018df5
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rax + rbp], 0
jne 0x140018c30
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
shl al, 5
mov ecx, 1
sub cl, al
movzx eax, r8b
imul cl
movzx r13d, al
movzx eax, r12b
imul bl
movzx ecx, al
shl cl, 2
add al, cl
add al, al
sub r13b, al
movzx eax, dl
add al, al
lea ecx, [rax + rdx]
mov rax, rdi
shl cl, 2
sub r13b, cl
mov rcx, qword [rsp + 0x68]
add r13b, 8
add r13b, byte [rsp + 0x140]
add r13b, byte [rsp + 0x90]
add r13b, cl
inc rax
cmp byte [rax + rbp], 0
jne 0x140018c97
sub r14d, edx
add r14d, r14d
sub r14d, r12d
sub r14d, r9d
add r14d, ebx
add r14d, r8d
add r14d, ecx
sub r14d, eax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140018cc0
xor ecx, ecx
mov edx, 0x15d
sub r14d, eax
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rdi
mov rcx, rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140018ce3
mov r11, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
movzx eax, r15b
imul dl
movzx edx, byte [rsp + 0x60]
movzx r8d, al
movzx eax, r10b
dec dl
imul dl
movzx edx, byte [rsp + 0x148]
shl dl, 5
movzx r9d, al
mov rax, rdi
sub r9b, r8b
add r9b, dl
movzx edx, r11b
shl dl, 2
lea r8d, [rdx + r11]
shl r8b, 2
add r9b, r8b
sub r9b, byte [rsp + 0x138]
sub r9b, r12b
inc rax
cmp byte [rsi + rax], 0
jne 0x140018d42
imul eax, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x148]
mov byte [rsp + 0x38], r9b
lea r8d, [r8*2 + 8]
mov edx, 1
mov r9d, r14d
imul eax, dword [rsp + 0x60]
sub r8d, eax
lea eax, [r10 + r10*4]
add eax, eax
sub r8d, r10d
sub edx, eax
add r8d, r8d
sub edx, dword [rsp + 0x140]
sub r8d, r11d
imul edx, r12d
lea eax, [rdx + r8*2]
mov r8, qword [rsp + 0x68]
movzx edx, r13b
sub eax, r8d
add eax, dword [rsp + 0x138]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xa0]
call fcn.140053670
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, str.c0a0
lea rcx, str.planter
mov r8d, eax
call fcn.140022100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r12
mov edx, eax
call fcn.14004a110
mov r13, qword [rsp + 0x130]
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x80]
lea r14d, [r12 + r12*4]
mov r10d, r15d
shl r8d, 5
imul r9d, ebx
add r14d, r14d
lea eax, [r12*8]
mov qword [r13], r12
imul r10d, dword [rsp + 0x60]
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0x130], eax
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140018e40
mov eax, dword [rsp + 0x90]
mov r11, qword [rsp + 0x78]
lea edx, [r11*4 - 2]
imul eax, dword [rsp + 0x70]
imul ecx, r11d
shl ecx, 3
lea eax, [rax + rax*4]
imul edx, r12d
add edx, eax
mov rax, rdi
sub edx, ecx
mov rcx, qword [rsp + 0x68]
sub edx, r9d
sub edx, ecx
sub edx, dword [rsp + 0x148]
add edx, dword [rsp + 0x130]
add edx, r8d
add edx, r14d
add edx, r10d
mov r10d, dword [rsp + 0x138]
add edx, r10d
add edx, dword [rsp + 0x140]
nop word [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140018eb0
sub edx, eax
mov qword [r13 + 0x10], r11
sub edx, 4
mov dword [r13 + 8], edx
imul ecx, dword [rsp + 0x148]
mov qword [rsp + 0x68], rcx
lea edx, [rcx + rcx*4]
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140018ee0
imul r15d, dword [rsp + 0x60]
lea eax, [r12 + r12]
sub r15d, 9
imul r15d, r11d
sub r15d, eax
mov rax, rdi
sub r15d, edx
sub r15d, r8d
sub r15d, r10d
add r15d, r14d
add r15d, r9d
add r15d, dword [rsp + 0x9c]
add r15d, dword [rsp + 0x140]
sub r15d, ecx
inc rax
cmp byte [rsi + rax], 0
jne 0x140018f23
add eax, 0xfffffffb
mov qword [r13 + 0x20], r11
add eax, r15d
mov dword [r13 + 0x18], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r13 + 0x28], rax
mov rax, rdi
inc rax
cmp byte [rax + rbp], 0
jne 0x140018f47
mov r9, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
imul ecx, r9d
mov r8, qword [rsp + 0x68]
shl ecx, 3
add eax, ecx
mov ecx, 0xfffffff4
sub ecx, r14d
shl eax, 2
imul ecx, edx
sub ecx, eax
lea eax, [r12 + r12*2]
add ecx, eax
lea eax, [r8 + r8*4]
sub ecx, eax
sub ecx, dword [rsp + 0x98]
sub ecx, ebx
sub ecx, dword [rsp + 0x138]
sub ecx, dword [rsp + 0x140]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140018fa3
mov eax, dword [rsp + 0x130]
add eax, ecx
add edi, eax
mov rax, r13
add edi, dword [rsp + 0x80]
add edi, r9d
mov dword [r13 + 0x30], edi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret