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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbp, rdx
mov qword [0x14000fed0], rcx
mov rdi, rcx
xor ebx, ebx
xor edx, edx
lea rcx, [0x14000f5c0]
mov r8d, 0x910
mov esi, ebx
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [0x14000ed60]
mov r8d, 0x32c
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [0x14000ec00]
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r14d, [rbx + 1]
lea r8d, [rbx + 0x7f]
mov dword [0x14000f878], r14d
lea rdx, [0x14000f5d8]
lea rcx, str.TITLE
call fcn.140005150
dec eax
xor r9d, r9d
xor ecx, ecx
cmp eax, 0x7f
ja 0x140005b04
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
nop dword [rax + rax]
mov rcx, rax
mov qword [0x14000e898], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
lea r8d, [rbx + 4]
lea rdx, [0x14000fec4]
lea rcx, str.EXTRACTOPT
call fcn.140005150
test eax, eax
jne 0x140005926
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov edx, 0x4b1
mov dword [rsp + 0x20], FDICopy
call fcn.1400061d8
mov dword [0x14000f5a4], 0x80070714
jmp 0x140005b1d
mov eax, dword [0x14000fec4]
test al, 0x40
jne 0x140005938
test al, al
jns 0x140005a02
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.INSTANCECHECK
call fcn.140005150
xor ecx, ecx
test eax, eax
jne 0x14000595d
xor r9d, r9d
xor r8d, r8d
jmp 0x140005901
lea r8, [rsp + 0x30]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
nop dword [rax + rax]
mov qword [0x14000e890], rax
test rax, rax
je 0x140005a02
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x140005a02
xor r9d, r9d
lea r8, [0x14000f5d8]
xor ecx, ecx
test byte [0x14000fec4], 0x80
je 0x1400059c1
mov dword [rsp + 0x28], ebx
mov edx, 0x54b
mov dword [rsp + 0x20], FDICopy
call fcn.1400061d8
jmp 0x1400059e0
mov dword [rsp + 0x28], 4
mov edx, 0x524
mov dword [rsp + 0x20], 0x20
call fcn.1400061d8
cmp eax, 6
je 0x140005a02
mov rcx, qword [0x14000e890]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov dword [0x14000f5a4], 0x800700b7
jmp 0x140005b1d
mov rcx, rbp
mov dword [0x14000f5a0], ebx
call fcn.1400067ec
test eax, eax
jne 0x140005a23
xor r9d, r9d
mov edx, 0x520
xor ecx, ecx
jmp 0x140005b09
cmp byte [0x14000ed7a], bl
je 0x140005a3c
lea rcx, [0x14000ed7a]
call fcn.1400026b4
jmp 0x140005b1d
mov r8d, 0xa
lea rdx, str.VERCHECK
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
nop dword [rax + rax]
test rax, rax
je 0x140005a72
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov rsi, rax
cmp dword [0x14000e21c], ebx
je 0x140005a86
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
nop dword [rax + rax]
cmp dword [0x14000ed64], ebx
je 0x140005a96
mov eax, r14d
jmp 0x140005b1f
mov rcx, rsi
call fcn.140003dd8
test eax, eax
je 0x140005b1d
movzx eax, word [0x14000fed8]
sub ax, r14w
cmp ax, 2
ja 0x140005a8e
test dword [0x14000fec4], 0x100
je 0x140005a8e
test byte [0x14000ed78], r14b
jne 0x140005a8e
call fcn.140003130
test eax, eax
jne 0x140005a8e
mov qword [rsp + 0x28], 0x83e
lea r9, [0x140003700]
xor r8d, r8d
mov qword [rsp + 0x20], 0x547
mov edx, 0x7d6
call fcn.1400064a0
cmp rax, 0x83d
sete bl
mov eax, ebx
jmp 0x140005b1f
mov edx, 0x4b1
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], FDICopy
call fcn.1400061d8
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140008f40
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret