Function at 0x1000035cc
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.1000057d4
test eax, eax
je 0x1000038a0
cmp eax, 0x80
ja 0x1000038a0
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.1000057d4
test eax, eax
jne 0x1000036d7
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 0x4b1
mov dword [rsp + 0x20], 0x10
call fcn.100005554
mov dword [0x100010488], 0x80070714
jmp 0x1000038be
mov eax, dword [0x100010ec4]
test al, 0x40
jne 0x1000036e9
test al, al
jns 0x1000037a1
lea rdx, [rsp + 0x30]
lea rcx, [0x100001728]
mov r8d, 0x104
call fcn.1000057d4
xor ecx, ecx
test eax, eax
jne 0x100003712
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
jmp 0x1000036b6
lea r8, [rsp + 0x30]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
mov qword [0x100010458], rax
je 0x1000037a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000037a1
xor r9d, r9d
xor ecx, ecx
test byte [0x100010ec4], 0x80
lea r8, [0x1000105d8]
je 0x100003766
and dword [rsp + 0x28], edi
mov edx, 0x54b
mov dword [rsp + 0x20], 0x10
call fcn.100005554
jmp 0x100003785
mov edx, 0x524
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x20
call fcn.100005554
cmp eax, 6
je 0x1000037a1
mov rcx, qword [0x100010458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100010488], 0x800700b7
jmp 0x1000038be
and dword [0x10001048c], edi
mov rcx, rsi
call fcn.1000074c4
test eax, eax
jne 0x1000037bd
mov edx, 0x520
jmp 0x1000038a5
cmp byte [0x10001141a], dil
je 0x1000037d7
lea rcx, [0x10001141a]
call fcn.10000290c
jmp 0x1000038be
lea rdx, [0x100001738]
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x100003801
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp dword [0x10000f46c], 0
je 0x100003810
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100011404], 0
je 0x100003821
mov eax, r12d
jmp 0x1000038c0
mov rcx, rdi
call fcn.1000043e0
test eax, eax
je 0x1000038be
movzx eax, word [0x100010490]
cmp ax, r12w
je 0x10000384a
cmp ax, 2
je 0x10000384a
cmp ax, 3
jne 0x100003819
bt dword [0x100010ec4], 8
jae 0x100003819
test byte [0x100011418], r12b
jne 0x100003819
call fcn.100001c2c
test eax, eax
jne 0x100003819
mov rcx, qword [0x100010ee0]
lea r9, [0x100001e2c]
xor r8d, r8d
mov edx, 0x7d6
mov qword [rsp + 0x28], 0x83e
mov qword [rsp + 0x20], 0x547
call fcn.100007e60
cmp rax, 0x83d
jne 0x1000038be
jmp 0x100003819
mov edx, 0x4b1
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x10
call fcn.100005554
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10000c850
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r12
pop rdi
pop rsi
ret