Function at 0x140046d50
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x250], rax
lea rcx, [rbp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov dl, 2
mov r15, rax
mov qword [rbp - 0x80], rax
call fcn.140097540
lea r14d, [rax + r15]
lea rcx, [rsp + 0x50]
mov rbx, rax
mov edx, r14d
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x44], r14d
call fcn.14006f050
lea r8, [0x140001b00]
movsxd r9, r14d
xor edx, edx
xor ecx, ecx
mov dword [rbp - 0x60], r14d
movups xmm2, xmmword [rax + 0x10]
movups xmm0, xmmword [rax]
lea rax, str.pantry
mov qword [rbp - 0x58], rax
psrldq xmm2, 8
movups xmmword [rbp], xmm0
movq r13, xmm2
mov rax, r13
shr rax, 0x20
imul eax, ebx
imul eax, r15d
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x50], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp - 0x38], rbx
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x50]
xor ecx, ecx
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x70], xmm0
call fcn.1400ccce0
mov dword [rsp + 0x50], 0x40
movzx esi, al
mov byte [rsp + 0x40], al
imul r13d, r14d
lea rax, str.cormorant
add r13d, esi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rax, str.authority
add r13d, r15d
movaps xmm0, xmmword [rsp + 0x50]
mov r8d, 8
mov dl, 4
mov ecx, r13d
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rax
call fcn.140077270
mov edi, eax
mov dword [rbp - 0x70], eax
cmp eax, 4
jbe 0x140047095
mov r12d, r13d
lea rcx, [rbp + 0x30]
mov edx, 0x104
sub r12d, eax
mov qword [rsp + 0x58], 0
sub r12d, r14d
add r12d, 0xb
add r12d, r15d
mov dword [rsp + 0x50], r12d
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov ecx, dword [rbp + 0xc]
movups xmm0, xmmword [rsp + 0x50]
movzx eax, ax
lea r9, str.c3a4
lea rdx, [rbp]
movaps xmmword [rbp], xmm0
mov dword [rsp + 0x68], eax
mov eax, esi
mov qword [rsp + 0x70], r9
movups xmm1, xmmword [rsp + 0x60]
movsd xmm0, qword [rsp + 0x70]
imul eax, r13d
sub ecx, eax
sub ecx, dword [rbp - 0x40]
sub ecx, r14d
lea r14d, [r15 - 0xb]
movaps xmmword [rbp + 0x10], xmm1
movsd qword [rbp + 0x20], xmm0
add ecx, edi
add ecx, ebx
add r14d, ecx
mov rcx, r9
mov r8d, r14d
call fcn.14009d1c0
xor ecx, ecx
mov edx, 0x348
lea r8d, [rcx + 0xd]
movsx rdi, al
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, str.c3a4
mov rdx, rbx
mov rsi, rax
call fcn.140088dd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rbp - 0x80]
mov edx, 0x21a
mov qword [rbp], rcx
xor ecx, ecx
mov r15, rax
lea r8d, [rcx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx ecx, byte [rsp + 0x40]
mov rbx, rdi
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x78]
mov dword [rbp + 0x10], 1
imul ecx, dword [rbp - 0x68]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp - 0x80]
mov dword [rbp + 0x20], 0
lea eax, [rax + 7]
lea edi, [rcx + rax*2]
sub edi, esi
sub edi, r12d
add edi, ebx
add edi, r13d
add edi, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, str.peer_to_peer
xor edx, edx
imul ebx, r14d
mov qword [rsp + 0x60], rax
mov eax, dword [rbp - 0x78]
mov qword [rsp + 0x58], rdx
movups xmm0, xmmword [rsp + 0x50]
imul eax, ecx
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], edx
lea r8, str.c5ret
lea eax, [rax + rbx*2]
lea rdx, [rsp + 0x50]
mov r9d, edi
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp]
lea ecx, [rax*2 - 0x31]
lea rax, str.coil
movaps xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rbp + 0x20]
add ecx, r13d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], ecx
mov ecx, r15d
mov qword [rsp + 0x20], rax
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x60], xmm1
call fcn.1400a2560
mov r14d, dword [rsp + 0x44]
mov r15, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx edx, byte [rsp + 0x40]
mov r12d, dword [rbp - 0x70]
mov rdi, rax
mov ecx, r12d
shl ecx, 6
sub ecx, edx
sub ecx, r13d
sub ecx, ebx
lea ebx, [r15 + rcx]
add ebx, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9d, [rbx - 0x20]
mov rdx, rax
movzx eax, byte [rbp - 0x78]
mov r8, rdi
mov qword [rsp + 0x20], rdx
mov rdx, rsi
imul r14b
movzx ecx, al
movzx eax, r15b
add cl, cl
sub cl, r12b
imul cl
sub al, byte [rsp + 0x40]
add al, byte [rbp - 0x60]
movzx ecx, al
call fcn.140074310
lea rax, str.resident
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret