Function at 0x14004e220
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x268
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, qword [rsp + 0x2d8]
mov rax, qword [rsp + 0x2e0]
mov r13, qword [rsp + 0x2d0]
xor r15d, r15d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x90], rax
movzx edi, r9b
mov byte [rsp + 0x40], r9b
mov rbp, r8
mov qword [rsp + 0x58], r8
mov r12, rdx
mov r14d, ecx
mov dword [rsp + 0x44], ecx
cmp r9b, cl
ja 0x14004e2be
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r8, [0x140001b00]
movzx r9d, dil
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r15
mov rbx, rax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rbx
call fcn.1400d23b0
xor ecx, ecx
mov edx, 0x187
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, [0x1400ed3f4]
lea rcx, [0x1400ed3f4]
mov r8, rax
mov qword [rsp + 0x60], rax
call fcn.1400d1e80
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x4c], eax
mov rdi, rbx
inc rdi
cmp byte [r12 + rdi], r15b
jne 0x14004e2f5
mov eax, esi
imul edi, r14d
mov ecx, r14d
imul eax, ebp
add eax, eax
sub edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, str.terrapin
mov rdx, rsi
mov ecx, edi
mov r15, rax
call fcn.1400b62f0
mov rsi, rax
cmp edi, r14d
ja 0x14004e354
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [0x1400ed3f4]
lea rdx, str.altitude
lea rcx, str.c1a0
mov r9, rax
mov qword [rsp + 0xa0], rax
call fcn.1400bb200
mov ecx, eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0xa8], rax
call fcn.14006a470
movzx r9d, byte [rsp + 0x40]
lea r8, [0x140001b00]
mov rbp, rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, r15
mov r8, rax
mov qword [rsp + 0xb0], rax
call fcn.1400b1520
lea r9, str.c1a0
lea r8, [0x1400ed3f4]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x60]
lea rdx, str.jiffy
mov qword [rsp + 0x28], rax
lea rax, str.c6a0
lea rcx, str.c4a0
mov qword [rsp + 0x20], rax
call fcn.140095e90
mov dword [rsp + 0x48], eax
cmp byte [rsp + 0x40], r14b
jne 0x14004e43e
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r8, str.hard_hat
lea rdx, str.c5ret
lea rcx, str.lamb
mov r9, rax
call fcn.1400d8180
lea rcx, str.prompt
call fcn.1400ba050
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rbx
mov r8, rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x60]
lea edx, [rax*4]
mov dword [rsp + 0x50], edx
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14004e492
imul ecx, dword [rsp + 0xb0]
mov eax, edi
imul eax, dword [rsp + 0x4c]
imul r14d, ecx, 0xfffffffc
sub r14d, eax
imul eax, dword [rsp + 0x70], 7
sub r14d, eax
mov rax, rbx
sub r14d, dword [rsp + 0x58]
add r14d, dword [rsp + 0x44]
add r14d, edx
add r14d, dword [rsp + 0xa8]
add r14d, dword [rsp + 0x48]
inc rax
cmp byte [rsi + rax], 0
jne 0x14004e4d6
mov rdx, qword [rsp + 0x78]
sub r14d, eax
lea rcx, [rsp + 0xc0]
sub r14d, 8
mov r9d, r14d
call fcn.140095470
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x40]
movups xmm0, xmmword [rax + 0x10]
movups xmm2, xmmword [rax]
movups xmm1, xmmword [rax + 0x20]
mov r8d, dword [rsp + 0x48]
mov r9d, edi
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x120], xmm1
movups xmm0, xmmword [rax + 0x30]
psrldq xmm2, 8
mov eax, dword [rsp + 0xa0]
imul eax, dword [rsp + 0x54]
movaps xmmword [rsp + 0x130], xmm0
sub ecx, eax
mov rax, qword [rsp + 0x90]
shl ecx, 2
sub ecx, dword [rax + 0x2c]
imul eax, dword [rsp + 0x70], 0x1f
add ecx, eax
movd eax, xmm2
sub ecx, eax
lea eax, [rdx - 6]
lea rdx, str.jiffy
sub ecx, dword [rsp + 0x78]
add ecx, dword [rsp + 0x58]
add ecx, dword [rsp + 0x44]
add ecx, dword [rsp + 0x50]
add ecx, dword [rsp + 0x60]
add ecx, dword [rsp + 0x4c]
add eax, ecx
xor ecx, ecx
mov dword [rsp + 0x80], eax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov dword [rsp + 0x50], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rbx
mov qword [rsp + 0x90], rax
nop dword [rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x14004e5b0
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa0]
movzx r8d, byte [rsp + 0x40]
imul ecx, r15d
mov r9, qword [rsp + 0x60]
lea edx, [rdx + rax*2]
mov eax, dword [rsp + 0x58]
imul eax, dword [rsp + 0x44]
imul ecx, r9d
imul r9d, dword [rsp + 0x48]
lea edx, [rdx - 6]
imul eax, r8d
lea r8d, [rax + rdx*2]
mov rdx, qword [rsp + 0x130]
mov rax, rbx
sub r8d, r9d
add ecx, r8d
sub ecx, r14d
sub ecx, dword [rsp + 0x68]
add ecx, r15d
inc rax
cmp byte [rdx + rax], 0
jne 0x14004e616
sub ecx, eax
mov rax, rbx
inc rax
cmp byte [rax + rbp], 0
jne 0x14004e624
add ecx, eax
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x14004e632
add ecx, eax
mov edx, 0x14d
mov dword [rsp + 0x98], ecx
xor ecx, ecx
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov r8, rax
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
nop dword [rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x14004e670
imul r15d, dword [rsp + 0x54]
imul ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x48]
add eax, eax
sub r15d, eax
mov rax, rbx
add r15d, r15d
imul ecx, dword [rsp + 0x4c]
sub r15d, ecx
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x14004e6a0
imul eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb8]
imul ecx, r14d
lea eax, [rax + r15*2]
add eax, ecx
movzx ecx, byte [rsp + 0x40]
sub eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0xa8]
sub eax, ecx
mov rcx, rbx
add eax, dword [rsp + 0x78]
add eax, edi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14004e6e0
sub eax, ecx
nop dword [rax + rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14004e6f0
mov edx, dword [rsp + 0x80]
sub eax, ebx
lea r9, [rsp + 0x90]
sub eax, 2
lea rcx, str.forgery
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
movzx r8d, byte [rsp + 0x50]
lea rax, str.kazoo
mov qword [rsp + 0x20], rax
call fcn.1400c9150
xor ecx, ecx
lea r8d, [rcx + 0x17]
mov edx, 0x31f
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret