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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r14, qword [rsp + 0x240]
mov rbp, qword [rsp + 0x248]
mov rdi, rcx
mov rcx, rdx
mov r15, r9
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x38], r8d
mov rbx, rdx
mov qword [rsp + 0x48], rdx
call qword [sym.imp.KERNEL32.dll_LockResource]
or rsi, 0xffffffffffffffff
mov r12, rax
mov qword [rsp + 0x50], rax
mov r13, rsi
inc r13
cmp byte [rdi + r13], 0
jne 0x14007a856
add r13b, bl
mov rcx, rsi
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14007a866
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x14007a872
imul cl
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14007a881
add al, cl
mov rcx, rsi
add al, bl
mov byte [rsp + 0x30], al
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14007a895
movzx eax, r15b
imul cl
mov rcx, rsi
movzx r15d, al
sub r15b, bl
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14007a8b0
add r15b, cl
lea rcx, [rsp + 0xb0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rcx, rsi
mov qword [rsp + 0x78], rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14007a8d7
mov r8, qword [rsp + 0x58]
mov eax, r8d
imul eax, ebx
sub ecx, eax
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x14007a8f0
sub ecx, eax
mov qword [rsp + 0x70], rcx
cmp r13b, r12b
je 0x14007aab7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0xa9
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0xb0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movzx r12d, r15b
mov rcx, rsi
mov qword [rsp + 0x60], rax
imul ebx, eax
mov eax, 0xd
sub eax, ebx
mov dword [rsp + 0x34], eax
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14007a976
imul ecx, r12d
mov rax, rsi
lea r8d, [rcx + rcx*4]
sub r8d, dword [rsp + 0x38]
add r8d, dword [rsp + 0x48]
inc rax
cmp byte [rdi + rax], 0
jne 0x14007a994
lea r15d, [r8 - 6]
lea r8, [0x140001b00]
xor edx, edx
add r15d, eax
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
movsxd r9, r15d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0xb0]
mov edx, 0x104
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rsi
mov qword [rsp + 0x68], rax
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14007a9e3
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
mov edx, 0xb5
add eax, eax
sub ecx, eax
sub ecx, dword [rsp + 0x38]
sub ecx, r12d
sub ecx, dword [rsp + 0x78]
sub ecx, r15d
sub ecx, 0xd
add ebx, ecx
xor ecx, ecx
lea r8d, [rcx + 0x15]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, rsi
mov r9, rax
inc r8
cmp byte [r8 + rbp], 0
jne 0x14007aa23
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x14007aa30
imul r8d, eax
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x14007aa41
mov rdx, qword [rsp + 0x40]
imul r8d, eax
movzx eax, byte [rsp + 0x30]
imul r8d, dword [rsp + 0x48]
imul ecx, eax, 0xfffffffb
imul edx, edx
movsx rax, r13b
imul edx, dword [rsp + 0x34]
sub ecx, edx
mov edx, ebx
add r8d, ecx
lea rcx, [rsp + 0x78]
add r8d, eax
mov rax, qword [rsp + 0x50]
sub r8d, dword [rsp + 0x68]
add eax, 0x20
sub r8d, dword [rsp + 0x60]
add eax, r8d
lea r8, str.wrist
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
lea r9, str.contribution
call fcn.1400dbe00
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
mov r12, rsi
nop
inc r12
cmp byte [r14 + r12], 0
jne 0x14007aac0
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x14007aad0
add r12d, eax
mov eax, ebx
mov ecx, 0xb
mov r15, rsi
imul eax, dword [rsp + 0x38]
sub ecx, eax
sub ecx, r8d
sub ecx, edx
add r12d, ecx
inc r15
cmp byte [r14 + r15], 0
jne 0x14007aaf5
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x14007ab02
imul r15d, eax
imul eax, edx, 0xb
sub r15d, eax
movsx rax, r13b
sub r15d, eax
mov rax, rsi
nop
inc rax
cmp byte [rax + rbp], 0
jne 0x14007ab20
xor ecx, ecx
add r15d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edx, 0xfb
lea r8d, [rcx + 7]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rbx, rsi
mov dword [rsp + 0x34], eax
lea eax, [r12 + r12*4]
mov dword [rsp + 0x68], eax
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14007ab64
imul ebx, dword [rsp + 0x48]
sub ebx, eax
mov rax, rsi
sub ebx, dword [rsp + 0x50]
add ebx, dword [rsp + 0x58]
nop
inc rax
cmp byte [rax + rbp], 0
jne 0x14007ab80
sub ebx, eax
add ebx, 6
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [0x1400ed7c8]
mov qword [rsp + 0x40], rax
movsxd rbx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed7c8]
mov r9, rbx
mov r8, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rsi
mov rdx, rax
mov qword [rsp + 0x50], rax
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14007abd0
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14007abe0
movzx eax, r13b
add bl, cl
imul byte [rsp + 0x30]
sub al, r12b
sub al, byte [rsp + 0x34]
sub al, byte [rsp + 0x40]
sub al, 8
add al, dl
add bl, al
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r13, rax
cmp byte [rsp + 0x30], bl
jae 0x14007ad25
xor ecx, ecx
mov edx, 0x385
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rsi
nop dword [rax + rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x14007ac30
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x14007ac40
add edx, dword [rsp + 0x68]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
imul eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
lea ecx, [rcx*4]
add edx, r8d
sub ecx, eax
add ebx, 0x22
sub ecx, dword [rsp + 0x38]
sub ecx, r13d
add ecx, edx
mov edx, 0x1cf
add ecx, dword [rsp + 0x58]
add ecx, dword [rsp + 0x40]
add ebx, ecx
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x14007acb0
mov rax, qword [rsp + 0x50]
imul r13d, ebx
lea ecx, [r13*2]
add ecx, r13d
lea eax, [rax + rax*4]
add eax, eax
lea r8d, [rax + rcx*2]
movzx ecx, byte [rsp + 0x30]
mov rax, rsi
sub r8d, dword [rsp + 0x40]
sub r8d, r15d
add r8d, dword [rsp + 0x48]
add r8d, ecx
add r8d, dword [rsp + 0x34]
add r8d, r12d
sub r8d, edx
nop word [rax + rax]
inc rax
cmp byte [rax + rbp], 0
jne 0x14007ad00
sub r8d, eax
nop dword [rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x14007ad10
lea ecx, [r8 - 0x22]
add ecx, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rax, str.sweets
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret