Function at 0x140038850
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, r8
mov qword [rsp + 0x50], rbx
call fcn.1400a7cd0
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov r8, rax
mov qword [rsp + 0x38], rax
call fcn.140087e30
xor ecx, ecx
mov edx, 0x3cd
lea r8d, [rcx + 0xf]
mov r15, rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2d4
lea r8d, [rcx + 0xd]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea ecx, [rbx + 1]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movups xmm0, xmmword [rsp + 0x68]
mov qword [rsp + 0x78], rax
xor edx, edx
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x20], xmm1
call fcn.14007f080
mov rdx, r15
mov qword [rsp + 0x30], rax
call fcn.14008ee80
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r13, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8b, 1
mov rcx, r13
mov qword [rsp + 0x48], rax
call fcn.1400d29c0
mov r14, rax
call fcn.1400b5830
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x58], rax
mov rcx, rbx
cmp byte [rsi + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140038954
mov eax, dword [rsp + 0x30]
lea edx, [rcx + rcx*8]
mov qword [rbp - 0x28], r13
imul eax, r12d
lea ecx, [rax + rax*2]
lea eax, [r15*4]
add ecx, ecx
mov r15d, 0xe
sub eax, ecx
mov r8d, r15d
xor ecx, ecx
sub eax, edx
mov edx, 0x24f
sub eax, dword [rsp + 0x50]
add eax, 0xa
add eax, r13d
mov dword [rbp - 0x30], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], rax
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400389c0
sub r15d, r13d
sub r15d, eax
mov rax, rbx
mov dword [rbp - 8], r15d
nop word [rax + rax]
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400389e0
mov r15, qword [rsp + 0x30]
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x40]
imul eax, dword [rsp + 0x38]
lea edx, [rax + rcx*2]
mov rax, rbx
sub edx, r13d
sub edx, r15d
sub edx, r12d
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140038a10
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
add eax, 5
add eax, edx
lea rcx, [rbp - 0x80]
mov dword [rbp - 4], eax
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x60], xmm0
call fcn.14007fd20
call fcn.1400a67b0
lea rcx, [rbp + 0x20]
xor edx, edx
mov r8d, 0x140
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], 0
call fcn.1400e27d0
lea rdx, [rbp + 0x20]
lea rcx, str.file
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp - 0x70], rax
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140038a80
mov r15, qword [rsp + 0x48]
mov rcx, rbx
imul eax, r15d
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140038a95
sub eax, ecx
add eax, 0x3b
mov dword [rbp - 0x68], eax
lea rax, str.drill
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov qword [rbp - 0x58], rax
lea rax, str.gamma_ray
lea r8d, [rcx + 0x14]
mov edx, 0x2df
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov qword [rbp - 0x40], rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140038ae5
mov r8, qword [rsp + 0x40]
movzx eax, r13b
imul cl
movzx ecx, al
movzx eax, r15b
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x30]
imul cl
movzx edx, al
movzx eax, r8b
imul r12b
movzx ecx, al
mov al, 0x1e
imul cl
mov rcx, rbx
movzx r15d, al
sub r15b, dl
sub r15b, byte [rsp + 0x68]
add r15b, 0xa
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140038b30
mov eax, dword [rsp + 0x58]
shl ecx, 2
lea r13d, [r8 + 0x29]
sub eax, ecx
xor ecx, ecx
mov edx, 0x3e5
add r13d, eax
lea r8d, [rcx + 8]
mov dword [rsp + 0x38], r13d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, qword [rsp + 0x60]
movaps xmm0, xmmword [rbp - 0x80]
movaps xmm1, xmmword [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea r9, str.numismatist
lea rcx, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x20], xmm1
movzx edx, r15b
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], r13d
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm1
call fcn.140077420
cmp dword [rsp + 0x38], 0
mov r13, rax
jne 0x140038c83
mov rcx, rbx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140038bc2
movzx eax, byte [rsp + 0x58]
imul cl
mov rcx, rbx
movzx r15d, al
nop word [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140038be0
movzx eax, byte [rsp + 0x60]
lea r8, [0x140001b00]
xor r9d, r9d
xor edx, edx
imul cl
add r15b, al
mov al, 0x32
xor ecx, ecx
imul byte [rsp + 0x50]
sub al, 0xa
add r15b, al
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9, rax
mov rcx, rbx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140038c23
add r12b, 4
mov al, 0x63
imul cl
movzx ecx, r12b
add cl, cl
add r12b, cl
add r12b, r12b
add al, r12b
sub al, byte [rsp + 0x48]
nop dword [rax + rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140038c50
add al, bl
lea r8, str.lamb
xor edx, edx
add al, byte [rsp + 0x68]
movzx ecx, r15b
add al, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400b9a70
call fcn.140060270
cmp al, byte [rsp + 0x38]
je 0x140038c93
call fcn.1400b3380
mov rax, r13
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret