Function at 0x140002f80
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x140009110]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [0x14000a748], rcx
mov rsi, rdx
lea rcx, [0x14000a760]
xor edx, edx
mov r8d, 0x910
xor edi, edi
call sub.msvcrt.dll_memset
lea rcx, [0x140009de0]
xor edx, edx
mov r8d, 0x32c
call sub.msvcrt.dll_memset
lea rcx, [0x14000a640]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r14d, [rdi + 1]
lea r8d, [rdi + 0x7f]
lea rdx, [0x14000a778]
lea rcx, [0x1400011c4]
mov dword [0x14000aa18], r14d
call fcn.140005094
test eax, eax
je 0x140003248
cmp eax, 0x80
ja 0x140003248
xor r9d, r9d
mov r8d, r14d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, rax
mov qword [0x140009a38], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r8d, [rdi + 4]
lea rdx, [0x14000b064]
lea rcx, [0x1400011d0]
call fcn.140005094
test eax, eax
jne 0x14000308b
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 0x4b1
mov dword [rsp + 0x20], 0x10
call fcn.140004e14
mov dword [0x14000b07c], 0x80070714
jmp 0x140003266
mov eax, dword [0x14000b064]
test al, 0x40
jne 0x14000309d
test al, al
jns 0x140003155
lea rdx, [rsp + 0x30]
lea rcx, [0x1400011e0]
mov r8d, 0x104
call fcn.140005094
xor ecx, ecx
test eax, eax
jne 0x1400030c6
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
jmp 0x14000306a
lea r8, [rsp + 0x30]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140009a30], rax
test rax, rax
je 0x140003155
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003155
xor r9d, r9d
xor ecx, ecx
test byte [0x14000b064], 0x80
lea r8, [0x14000a778]
je 0x14000311a
and dword [rsp + 0x28], edi
mov edx, 0x54b
mov dword [rsp + 0x20], 0x10
call fcn.140004e14
jmp 0x140003139
mov edx, 0x524
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x20
call fcn.140004e14
cmp eax, 6
je 0x140003155
mov rcx, qword [0x140009a30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14000b07c], 0x800700b7
jmp 0x140003266
and dword [0x14000b078], edi
mov rcx, rsi
call fcn.140006de8
test eax, eax
jne 0x140003171
mov edx, 0x520
jmp 0x14000324d
cmp byte [0x140009dfa], dil
je 0x14000318b
lea rcx, [0x140009dfa]
call fcn.1400022d0
jmp 0x140003266
lea rdx, [0x1400011f0]
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x1400031b5
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp dword [0x140009244], 0
je 0x1400031c4
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x140009de4], 0
je 0x1400031d5
mov eax, r14d
jmp 0x140003268
mov rcx, rdi
call fcn.140003da8
test eax, eax
je 0x140003266
movzx eax, word [0x14000b074]
cmp ax, r14w
je 0x1400031fe
cmp ax, 2
je 0x1400031fe
cmp ax, 3
jne 0x1400031cd
test dword [0x14000b064], 0x100
je 0x1400031cd
test byte [0x140009df8], r14b
jne 0x1400031cd
call fcn.140001650
test eax, eax
jne 0x1400031cd
lea r8, [0x140001820]
mov r9d, 0x547
xor edx, edx
mov ecx, 0x7d6
mov qword [rsp + 0x20], 0x83e
call fcn.1400077a0
cmp rax, 0x83d
jne 0x140003266
jmp 0x1400031cd
mov edx, 0x4b1
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x10
call fcn.140004e14
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400080a0
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r14
pop rdi
pop rsi
ret