Function at 0x14009ba10
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, r9
mov qword [rsp + 0x38], r8
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.streetcar
mov r13d, eax
lea r14d, [rdi + rbp]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0x30], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x40]
lea rcx, str.streetcar
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 0x13]
mov edx, 0x267
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x180]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [0x1400ed3f4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp r14d, r13d
je 0x14009bb29
xor ecx, ecx
mov edx, 0x39d
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x40]
lea rcx, str.streetcar
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x180]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x1b4
lea r8d, [rcx + 0x13]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea r12d, [rbp - 0x28]
add r12d, edi
mov r15d, eax
cmp r14d, 0x10
je 0x14009bc0a
xor ecx, ecx
mov qword [rsp + 0x2e8], rbx
lea ebx, [rax - 0x12]
lea r8d, [rcx + 0x10]
mov edx, 0x3ac
add bl, bpl
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x334
lea r8d, [rcx + 0x14]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
movsxd r9, r14d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0xa]
mov edx, 0x14a
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea rcx, str.tugboat
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movsx r9, bl
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x2e8]
imul edi, dword [rsp + 0x38]
imul eax, dword [rsp + 0x300], 0x7f
imul esi, r15d
add edi, esi
sub edi, eax
lea eax, [r13 + 0x10]
sub edi, r14d
add edi, dword [rsp + 0x30]
add edi, ebp
add edi, r12d
add eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret