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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x150
mov rax, qword [0x10000f100]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [0x100010ee0], rcx
mov rsi, rdx
lea rcx, [0x1000105c0]
xor edx, edx
mov r8d, 0x910
xor edi, edi
call sub.msvcrt.dll_memset
lea rcx, [0x100011400]
xor edx, edx
mov r8d, 0x32c
call sub.msvcrt.dll_memset
lea rcx, [0x1000104a0]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r12d, [rdi + 1]
lea r8d, [rdi + 0x7f]
lea rdx, [0x1000105d8]
lea rcx, [0x10000170c]
mov dword [0x100010878], r12d
call fcn.1000057f4
test eax, eax
je 0x1000038ac
cmp eax, 0x80
ja 0x1000038ac
xor r9d, r9d
mov r8d, r12d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, rax
mov qword [0x100010450], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r8d, [rdi + 4]
lea rdx, [0x100010ec4]
lea rcx, [0x100001718]
call fcn.1000057f4
test eax, eax
jne 0x1000036e3
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 0x4b1
mov dword [rsp + 0x20], 0x10
call fcn.100005574
mov dword [0x100010488], 0x80070714
jmp 0x1000038ca
mov eax, dword [0x100010ec4]
test al, 0x40
jne 0x1000036f5
test al, al
jns 0x1000037ad
lea rdx, [rsp + 0x30]
lea rcx, [0x100001728]
mov r8d, 0x104
call fcn.1000057f4
xor ecx, ecx
test eax, eax
jne 0x10000371e
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
jmp 0x1000036c2
lea r8, [rsp + 0x30]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x100010458], rax
test rax, rax
je 0x1000037ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000037ad
xor r9d, r9d
xor ecx, ecx
test byte [0x100010ec4], 0x80
lea r8, [0x1000105d8]
je 0x100003772
and dword [rsp + 0x28], edi
mov edx, 0x54b
mov dword [rsp + 0x20], 0x10
call fcn.100005574
jmp 0x100003791
mov edx, 0x524
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x20
call fcn.100005574
cmp eax, 6
je 0x1000037ad
mov rcx, qword [0x100010458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100010488], 0x800700b7
jmp 0x1000038ca
and dword [0x10001048c], edi
mov rcx, rsi
call fcn.1000074d0
test eax, eax
jne 0x1000037c9
mov edx, 0x520
jmp 0x1000038b1
cmp byte [0x10001141a], dil
je 0x1000037e3
lea rcx, [0x10001141a]
call fcn.100002918
jmp 0x1000038ca
lea rdx, [0x100001738]
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x10000380d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp dword [0x10000f46c], 0
je 0x10000381c
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100011404], 0
je 0x10000382d
mov eax, r12d
jmp 0x1000038cc
mov rcx, rdi
call fcn.1000043f4
test eax, eax
je 0x1000038ca
movzx eax, word [0x100010490]
cmp ax, r12w
je 0x100003856
cmp ax, 2
je 0x100003856
cmp ax, 3
jne 0x100003825
bt dword [0x100010ec4], 8
jae 0x100003825
test byte [0x100011418], r12b
jne 0x100003825
call fcn.100001c44
test eax, eax
jne 0x100003825
mov rcx, qword [0x100010ee0]
lea r9, [0x100001e44]
xor r8d, r8d
mov edx, 0x7d6
mov qword [rsp + 0x28], 0x83e
mov qword [rsp + 0x20], 0x547
call fcn.100007e70
cmp rax, 0x83d
jne 0x1000038ca
jmp 0x100003825
mov edx, 0x4b1
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x10
call fcn.100005574
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10000c9f0
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r12
pop rdi
pop rsi
ret