Function at 0x140003010
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 [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [0x14000a528], rcx
mov rsi, rdx
lea rcx, [0x14000a540]
xor edx, edx
mov r8d, 0x910
xor edi, edi
call sub.msvcrt.dll_memset
lea rcx, [0x140009bc0]
xor edx, edx
mov r8d, 0x32c
call sub.msvcrt.dll_memset
lea rcx, [0x14000a420]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r14d, [rdi + 1]
lea r8d, [rdi + 0x7f]
lea rdx, [0x14000a558]
lea rcx, [0x14000120c]
mov dword [0x14000a7f8], r14d
call fcn.140005198
xor r9d, r9d
xor ecx, ecx
dec eax
cmp eax, 0x7f
ja 0x1400032cd
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, rax
mov qword [0x140009828], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r8d, [rdi + 4]
lea rdx, [0x14000ae44]
lea rcx, [0x140001218]
call fcn.140005198
test eax, eax
jne 0x140003113
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 0x4b1
mov dword [rsp + 0x20], FDICopy
call fcn.140004ed8
mov dword [0x14000ae5c], 0x80070714
jmp 0x1400032e6
mov eax, dword [0x14000ae44]
test al, 0x40
jne 0x140003125
test al, al
jns 0x1400031dd
lea rdx, [rsp + 0x30]
lea rcx, [0x140001228]
mov r8d, 0x104
call fcn.140005198
xor ecx, ecx
test eax, eax
jne 0x14000314e
and dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
jmp 0x1400030f2
lea r8, [rsp + 0x30]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140009820], rax
test rax, rax
je 0x1400031dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400031dd
xor r9d, r9d
xor ecx, ecx
test byte [0x14000ae44], 0x80
lea r8, [0x14000a558]
je 0x1400031a2
and dword [rsp + 0x28], edi
mov edx, 0x54b
mov dword [rsp + 0x20], FDICopy
call fcn.140004ed8
jmp 0x1400031c1
mov edx, 0x524
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x20
call fcn.140004ed8
cmp eax, 6
je 0x1400031dd
mov rcx, qword [0x140009820]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14000ae5c], 0x800700b7
jmp 0x1400032e6
and dword [0x14000ae58], edi
mov rcx, rsi
call fcn.140006f14
test eax, eax
jne 0x1400031fe
xor r9d, r9d
mov edx, 0x520
xor ecx, ecx
jmp 0x1400032d2
cmp byte [0x140009bda], dil
je 0x140003218
lea rcx, [0x140009bda]
call fcn.14000233c
jmp 0x1400032e6
lea rdx, [0x140001238]
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140003242
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp dword [0x1400091f4], 0
je 0x140003251
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x140009bc4], 0
je 0x140003262
mov eax, r14d
jmp 0x1400032e8
mov rcx, rdi
call fcn.140003e3c
test eax, eax
je 0x1400032e6
movzx eax, word [0x14000ae54]
sub ax, r14w
cmp ax, 2
ja 0x14000325a
test dword [0x14000ae44], 0x100
je 0x14000325a
test byte [0x140009bd8], r14b
jne 0x14000325a
call fcn.1400016c0
test eax, eax
jne 0x14000325a
lea r9, [0x140001890]
xor r8d, r8d
mov edx, 0x7d6
mov qword [rsp + 0x28], 0x83e
mov qword [rsp + 0x20], 0x547
call fcn.140007880
cmp rax, 0x83d
jne 0x1400032e6
jmp 0x14000325a
mov edx, 0x4b1
and dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], FDICopy
call fcn.140004ed8
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140008180
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r14
pop rdi
pop rsi
ret