Function at 0x140027b40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov r15, r8
movsxd rsi, edx
mov r13, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r14, rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r9, rax
mov r8, r14
mov rbx, rax
mov qword [rsp + 0x40], rax
call fcn.1400c58e0
movzx edi, al
lea rax, str.motel
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [r14 + r15]
add ecx, esi
lea edx, [rsi + 0xa]
mov dword [rbp - 0x58], 0x20
mov dword [rbp - 0x54], ecx
lea ecx, [r15 + r14*4]
mov qword [rbp - 0x60], rax
add edx, ecx
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], edx
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r8, [0x140001b00]
mov qword [rbp - 0x40], rax
mov eax, esi
mov r9d, edi
sub eax, edi
xor edx, edx
xor ecx, ecx
sub eax, ebx
mov r12d, edi
sub eax, r15d
mov dword [rbp + 0xf8], eax
mov dword [rbp - 0x38], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
mov qword [rsp + 0x58], rax
lea rax, str.vein
mov qword [rbp - 0x30], rax
lea rax, str.turkey
mov ecx, esi
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0xf0]
lea r8, [0x140001b00]
lea eax, [rax + rax*4]
mov r9, rsi
xor edx, edx
add eax, eax
sub ecx, eax
mov dword [rsp + 0x50], eax
xor eax, eax
sub ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
sub ecx, ebx
add ecx, 4
mov dword [rbp - 0x20], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, qword [rbp + 0xf0]
lea ecx, [r14 + r14*4]
mov dword [rsp + 0x68], eax
lea rax, str.c0a0
lea edx, [rdx + rcx*2]
xor ecx, ecx
mov qword [rsp + 0x70], rax
add edx, esi
lea r8d, [rcx + 8]
mov dword [rsp + 0x6c], edx
mov edx, 0x25f
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov qword [rsp + 0x78], rax
lea eax, [rsi*4]
mov qword [rsp + 0x28], rcx
lea r8, [0x140001b00]
mov r9d, edi
xor edx, edx
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [rbp + 0x50]
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x10]
lea rdx, str.minister
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rbp - 0x80]
movsd xmm1, qword [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, str.numismatist
lea rcx, str.plough
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rbp - 0x30]
movsd qword [rbp + 0x40], xmm1
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov r9, r15
movsd xmm1, qword [rbp - 0x20]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rbp - 0x68]
movsd qword [rbp], xmm1
movups xmm1, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rbp - 0x48]
movsd xmm1, qword [rbp - 0x38]
movaps xmmword [rbp + 0x70], xmm0
movsd qword [rbp + 0x80], xmm1
call fcn.14008ef90
or rbx, 0xffffffffffffffff
mov r15, rax
cmp dil, sil
jb 0x140027e5b
lea ecx, [rdi + rdi*2]
mov eax, esi
mov r14, rbx
add ecx, ecx
sub eax, ecx
add eax, 8
mov dword [rbp + 0xe0], eax
inc r14
cmp byte [r15 + r14], 0
jne 0x140027d91
mov edx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x60]
shl eax, 5
imul edx, dword [rbp + 0xf0]
add eax, edx
sub eax, edi
add eax, esi
add r14d, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [rbp + 0xf0]
mov ecx, dword [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov rsi, rax
mov rax, qword [rsp + 0x40]
mov r8, rdi
mov edx, r14d
mov qword [rsp + 0x20], rax
call fcn.14008e170
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x271
movsx edi, al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [rsp + 0x48]
mov ecx, edi
imul ecx, esi
mov esi, dword [rbp + 0xe8]
mov rdi, qword [rsp + 0x40]
lea r8, str.fisherman
imul edx, esi
sub edx, ecx
lea r9d, [rdi*8 - 4]
imul ecx, r14d, 0xb
add edx, ecx
lea rcx, str.c1ret
add r9d, edx
lea rdx, str.hail
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rdx
mov rdx, rax
call fcn.1400b6860
mov r14, qword [rsp + 0x48]
jmp 0x140027e60
mov rdi, qword [rsp + 0x40]
lea rax, str.c1a0
mov rcx, rbx
mov qword [r13], rax
xor eax, eax
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], rax
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], al
jne 0x140027e80
imul ecx, dword [rsp + 0x68]
mov edx, dword [rbp + 0xf8]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov qword [r13 + 0x20], r14
imul eax, r14d
lea eax, [rax + rdx*2]
lea ecx, [rcx + rax*4]
lea eax, [rsi - 0x17]
sub ecx, r12d
sub ecx, dword [rbp + 0xf0]
add ecx, edi
add eax, ecx
mov dword [r13 + 0x18], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0xd]
mov edx, 0x2a2
mov qword [r13 + 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [r13 + 0x30], rax
nop dword [rax]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140027ee0
imul r12d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x50]
shl edi, 8
imul eax, esi
imul r12d, r14d
add ebx, r12d
add ebx, eax
lea eax, [rdi + 0xa]
add eax, ebx
mov dword [r13 + 0x38], eax
mov rax, r13
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret