Function at 0x140012380
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400493e0
sub rsp, rax
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov byte [rbp - 0x50], 0
lea rax, str.dll_dirs_F67BB3AD_7B5E_4C2D_A22B_747BC163AB78
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012406
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140012406
mov ecx, 0x1000
call qword [case.0x14004448e.0]
lea rcx, [rbp + 0x98]
call fcn.1400102d0
xor r14d, r14d
cmp byte [rax + 0x20], r14b
je 0x140012457
cmp byte [rbp - 0x50], r14b
je 0x140012432
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14002a320
jmp 0x1400124b2
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov byte [rbp - 0x50], 1
jmp 0x1400124b2
cmp byte [rbp - 0x50], r14b
je 0x1400124b2
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400124a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001249b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001249b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
movdqa xmm0, xmmword [0x140059020]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r14w
lea rcx, [rbp + 0x98]
call fcn.140014be0
mov dword [rbp - 0x38], r14d
lea r15, [0x140068058]
mov qword [rbp - 0x30], r15
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x330]
call fcn.140003cc0
mov ebx, dword [rbp - 0x38]
test ebx, ebx
jne 0x140013663
mov rax, qword [rbp + 0x340]
dec rax
lea rcx, [rbp + 0x330]
cmp qword [rbp + 0x348], 8
cmovae rcx, qword [rbp + 0x330]
mov qword [rbp + 0x340], rax
mov word [rcx + rax*2], r14w
lea rdx, [rbp + 0x330]
cmp qword [rbp + 0x348], 8
cmovae rdx, qword [rbp + 0x330]
mov qword [rbp + 0x310], r14
movdqa xmm0, xmmword [0x140059020]
movdqu xmmword [rbp + 0x320], xmm0
mov r8, qword [rbp + 0x340]
lea rcx, [rbp + 0x310]
call fcn.140002660
lea rcx, [rbp + 0x310]
call fcn.1400066a0
test al, al
je 0x1400126b3
lea r11, [rbp + 0x310]
cmp qword [rbp + 0x328], 8
cmovae r11, qword [rbp + 0x310]
mov rax, qword [rbp + 0x320]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140028f50
cmp rax, rdx
je 0x1400125fc
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400125a8
cmp cx, 0x2f
jne 0x1400125b0
add rax, 2
jmp 0x140012594
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400125ce
cmp cx, 0x2f
je 0x1400125ce
mov rdx, r8
cmp rax, r8
je 0x1400125fc
jmp 0x1400125b0
cmp rax, rdx
je 0x1400125fc
nop dword [rax]
nop word [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400125f4
cmp cx, 0x2f
jne 0x1400125fc
mov rdx, r8
cmp rax, r8
jne 0x1400125e0
sub rdx, r11
sar rdx, 1
mov qword [rbp + 0x410], r14
movdqa xmm0, xmmword [0x140059020]
movdqu xmmword [rbp + 0x420], xmm0
mov r8, rdx
mov rdx, r11
lea rcx, [rbp + 0x410]
call fcn.140002660
lea rcx, [rbp + 0x410]
cmp qword [rbp + 0x428], 8
cmovae rcx, qword [rbp + 0x410]
call fcn.140006300
movzx ebx, al
mov rdx, qword [rbp + 0x428]
cmp rdx, 8
jb 0x140012693
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x410]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001268e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001268e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
movdqa xmm0, xmmword [0x140059020]
movdqu xmmword [rbp + 0x420], xmm0
mov word [rbp + 0x410], r14w
test bl, bl
jne 0x140013606
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r14
lea rcx, [rbp + 0x310]
call fcn.1400066a0
test al, al
je 0x1400126f0
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x80]
call fcn.1400110e0
test al, al
je 0x1400135fa
lea rcx, [rbp + 0x330]
cmp qword [rbp + 0x348], 8
cmovae rcx, qword [rbp + 0x330]
call fcn.14000ff90
test al, al
je 0x1400135fa
call fcn.1400288d0
lea rcx, [rsp + 0x40]
call fcn.14000a3b0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140012ab7
call fcn.14000bdf0
test al, al
je 0x140012ab7
mov qword [rbp + 0x3a0], r14
mov qword [rbp + 0x3b0], r14
mov qword [rbp + 0x3b8], 0xf
mov r8d, 0x26
lea rdx, str.278EB6DD_BEAB_4E64_984F_A39EAF35B463
lea rcx, [rbp + 0x3a0]
call fcn.14002a140
lea rcx, [rbp + 0x310]
call fcn.1400066a0
test al, al
je 0x140012875
mov qword [rbp + 0x430], r14
mov qword [rbp + 0x440], r14
mov qword [rbp + 0x448], 0xf
mov r8d, 0x26
lea rdx, str.4EB7AE5A_828D_4485_8685_1571B86078F7
lea rcx, [rbp + 0x430]
call fcn.14002a140
mov rdx, qword [rbp + 0x3b8]
cmp rdx, 0x10
jb 0x1400127f7
inc rdx
mov rcx, qword [rbp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400127f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a97
call fcn.14004846c
movups xmm0, xmmword [rbp + 0x430]
movups xmmword [rbp + 0x3a0], xmm0
movups xmm1, xmmword [rbp + 0x440]
movups xmmword [rbp + 0x3b0], xmm1
mov qword [rbp + 0x440], r14
mov qword [rbp + 0x448], 0xf
mov byte [rbp + 0x430], r14b
lea r8, str.wWinMain
mov edx, 0x10
lea rcx, [rbp + 0x120]
call fcn.140028db0
cmp byte [rax + 0x80], r14b
je 0x14001285c
lea rdx, str.Run_from_updcenter_dir
mov rcx, rax
call fcn.140020ff0
lea rcx, [rbp + 0x1b8]
call fcn.140028b20
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov byte [rbp - 0x44], r14b
lea rdx, [rbp + 0x3a0]
cmp qword [rbp + 0x3b8], 0x10
cmovae rdx, qword [rbp + 0x3a0]
mov qword [rbp + 0x450], r14
mov qword [rbp + 0x460], r14
mov qword [rbp + 0x468], 0xf
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400128b3
lea rcx, [rbp + 0x450]
call fcn.14002a140
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xb40], eax
mov r9, rbx
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x102
lea rcx, [rbp + 0xb44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140055d80]
mov edx, 0x104
lea rcx, [rbp + 0xb44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, rbx
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x104
lea rcx, [rbp + 0xd4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14006b410]
mov eax, dword [0x14006b40c]
add ecx, eax
je 0x1400129d9
mov dword [rsp + 0x50], r14d
call fcn.1400288d0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140012966
call fcn.1400288d0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x58], 0x20
mov edx, 1
lea rax, [rbp + 0xb44]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd4c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x58]
movsx edx, dx
call fcn.1400285c0
mov qword [rsp + 0x48], r14
mov eax, ebx
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x1400129d4
call fcn.140028a30
mov eax, ebx
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1400129c2
lock inc dword [rsp + 0x50]
mov byte [rbp + 0xe0], r14b
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0x450]
lea rdx, [rbp + 0xe8]
call fcn.14000abb0
lea rcx, [rbp + 0xb40]
call fcn.140027b20
mov rdx, qword [rbp + 0x468]
cmp rdx, 0x10
jb 0x140012a53
inc rdx
mov rcx, qword [rbp + 0x450]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
lea rcx, [rbp + 0xe8]
call fcn.140013820
mov rdx, qword [rbp + 0x3b8]
cmp rdx, 0x10
jb 0x140012aa3
inc rdx
mov rcx, qword [rbp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov rcx, qword [rsp + 0x40]
call fcn.140007b90
mov rcx, qword [rsp + 0x40]
jmp 0x1400134ff
call fcn.140010ac0
movzx edi, al
mov byte [rbp - 0x10], r14b
mov qword [rbp - 8], r14
mov qword [rbp], r14
lea rax, [rbp + 0x310]
cmp qword [rbp + 0x328], 8
cmovae rax, qword [rbp + 0x310]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r14
mov byte [rbp + 0x58], r14b
lea rcx, [rbp - 0x10]
call fcn.14000d990
test eax, eax
jne 0x140012c41
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.14000df00
mov esi, eax
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x28]
call fcn.1400023e0
mov rcx, qword [rbp - 0x28]
test eax, eax
jne 0x140012c36
test rcx, rcx
je 0x140012b3b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
js 0x140012c41
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14006b498], eax
jle 0x140012b86
lea rcx, [0x14006b498]
call fcn.1400480d8
cmp dword [0x14006b498], 0xffffffff
jne 0x140012b86
mov dword [0x14006b49c], esi
lea rcx, [0x14006b498]
call fcn.140048078
mov rcx, r14
mov rdx, qword [0x14006b3f8]
lea r8, str.crash
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140012bbe
cmp rcx, 8
jne 0x140012ba0
lea r8, [0x14000de90]
jmp 0x140012bfd
mov rax, r14
lea r8, [0x1400536f8]
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140012beb
cmp rax, 8
jne 0x140012bd0
cmp cx, word [r8 + rax*2 - 2]
lea r8, [0x14000dee0]
lea rax, [0x14000dec0]
cmove r8, rax
lea rax, [0x14006b49c]
mov r9, r14
cmp dword [0x14006b49c], r9d
cmova r9, rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140012c41
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012c41
test rcx, rcx
je 0x140012c41
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.LocalMTXCS_59D5D126_7167_4318_8CD1_D97A8EA80CB3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14006b1c0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400134c5
cmp eax, 5
je 0x1400134c5
lea rcx, [rbp + 0x4b0]
call fcn.14000c000
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.140009040
lea rcx, [rbp + 0x508]
call fcn.1400097f0
lea rcx, [rbp + 0x4f0]
call fcn.140015c70
lea rcx, [rbp + 0x4d8]
call fcn.1400167d0
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0x10
jb 0x140012cf6
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012cf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012cf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
lea rdx, [rbp + 0x310]
lea rcx, [rsp + 0x68]
call fcn.140011810
cmp byte [rbp - 0x78], r14b
jne 0x140012dc4
lea rcx, [rsp + 0x68]
call fcn.140013700
nop
lea rcx, [rbp + 0x350]
call fcn.140007d00
lea rcx, [rbp + 0x378]
call fcn.140015aa0
mov rcx, qword [rbp + 0x378]
mov qword [rbp + 0x378], r14
mov edx, 0x10
call fcn.14004846c
mov rdx, qword [rbp + 0x370]
cmp rdx, 0x10
jb 0x140012d90
inc rdx
mov rcx, qword [rbp + 0x358]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov qword [rbp + 0x368], r14
mov qword [rbp + 0x370], 0xf
mov byte [rbp + 0x358], 0
mov rdx, qword [rbp + 0x350]
test rdx, rdx
je 0x140012dbb
call fcn.140015be0
nop
cmp byte [rbp + 0x58], 0
jmp 0x1400134c9
mov rax, qword [rsp + 0x68]
mov qword [0x14006b3d8], rax
mov rax, qword [rsp + 0x70]
mov qword [0x14006b3e0], rax
call fcn.140044f30
movzx edx, dil
lea rcx, [rbp + 0x550]
call fcn.1400359f0
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x140012e07
lock inc dword [rdi + 8]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rbp - 0x80]
mov rax, qword [rsp + 0x78]
test rdi, rdi
je 0x140012e1a
lock inc dword [rdi + 8]
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x550]
call fcn.140036810
lea rcx, [rbp + 0x550]
call fcn.140035f50
mov esi, eax
test eax, eax
je 0x140012e8f
test rdi, rdi
je 0x140012eff
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140012efa
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14004448e.0]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140012efa
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14004448e.0]
jmp 0x140012efa
lea rcx, [rbp + 0x550]
call fcn.14003b2b0
xchg byte [rbp + 0xa4a], al
lea rcx, [rbp + 0x550]
call fcn.1400365c0
mov esi, eax
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x140012ef2
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140012ef2
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14004448e.0]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140012ef2
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14004448e.0]
test esi, esi
je 0x140013022
mov rbx, qword [rsp + 0x40]
lea r8, str.wWinMain
mov edx, 4
lea rcx, [rbp + 0x218]
call fcn.140028db0
mov rdi, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140012f4a
lea rdx, str.Failed_to_init_CUpdateDlg__err
mov rcx, rdi
call fcn.140020ff0
movzx eax, byte [rdi + 0x80]
test al, al
je 0x140012f4a
mov edx, esi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
lea rcx, [rbp + 0x2b0]
call fcn.140028b20
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x550]
call fcn.140035bf0
lea rcx, [rsp + 0x68]
call fcn.140013700
nop
lea rcx, [rbp + 0x350]
call fcn.140007d00
lea rcx, [rbp + 0x378]
call fcn.140015aa0
mov rcx, qword [rbp + 0x378]
mov qword [rbp + 0x378], r14
mov edx, 0x10
call fcn.14004846c
mov rdx, qword [rbp + 0x370]
cmp rdx, 0x10
jb 0x140012fee
inc rdx
mov rcx, qword [rbp + 0x358]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012fe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012fe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov qword [rbp + 0x368], r14
mov qword [rbp + 0x370], 0xf
mov byte [rbp + 0x358], 0
mov rdx, qword [rbp + 0x350]
test rdx, rdx
je 0x140013019
call fcn.140015be0
nop
cmp byte [rbp + 0x58], 0
jmp 0x1400134c9
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x7c0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x7c8], rax
xor r9d, r9d
xor edx, edx
mov r8d, 0x81
lea rcx, [rbp + 0x578]
call fcn.140043a90
lea rcx, [rbp + 0x550]
call fcn.140037380
mov edx, 1
mov r8d, edx
lea rcx, [rbp + 0x550]
call fcn.140043e10
mov rcx, qword [rbp + 0xa00]
test rcx, rcx
je 0x1400130fa
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp + 0x9f8]
mov rax, qword [rax + 8]
call qword [case.0x14004448e.0]
mov rdi, qword [rbp + 0xa00]
mov rsi, qword [rdi + 0xa0]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400130ba
mov rax, qword [rsi + 0x10]
call qword [case.0x14004448e.0]
nop
mov qword [rsi + 0x38], r14
mov rax, qword [rdi + 0xb0]
mov qword [rdi + 0xb0], r14
test rax, rax
je 0x1400130e2
mov rcx, qword [rdi + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004448e.0]
nop
mov rdx, qword [rbp + 0xa00]
mov qword [rbp + 0xa00], r14
test rdx, rdx
je 0x1400130fa
call fcn.14003ca50
mov qword [rbp + 0xa08], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa20], xmm1
mov qword [rbp + 0xa30], r14
mov rcx, qword [rbp + 0xa38]
test rcx, rcx
je 0x140013130
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbp + 0xa38], r14
mov qword [rbp + 0x3d0], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x3c0], xmm0
mov qword [rbp + 0x3d8], r14
mov qword [rbp + 0x3e0], 0xf
movdqa xmmword [rbp + 0x3f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x400], xmm1
mov ecx, 0x10
call fcn.140002c30
mov qword [rax + 8], r14
mov qword [rbp + 0x3e8], rax
lea rcx, [rbp + 0x3e8]
mov qword [rax], rcx
lea rcx, [rbp + 0x350]
call fcn.140007d00
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0x3c0], r14
mov rdx, qword [rbp + 0x350]
mov qword [rbp + 0x350], rax
test rdx, rdx
je 0x1400131bf
call fcn.140015be0
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x358]
call fcn.14002a290
lea rcx, [rbp + 0x378]
call fcn.140015aa0
mov rax, qword [rbp + 0x378]
mov rcx, qword [rbp + 0x3e8]
mov qword [rbp + 0x378], rcx
mov qword [rbp + 0x3e8], rax
test rcx, rcx
je 0x140013210
lea rax, [rbp + 0x378]
mov qword [rcx], rax
mov rax, qword [rbp + 0x3e8]
test rax, rax
je 0x14001321f
lea rcx, [rbp + 0x3e8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x398], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x3f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x400], xmm1
lea rcx, [rbp + 0x3c0]
call fcn.140007d00
lea rcx, [rbp + 0x3e8]
call fcn.140015aa0
mov rcx, qword [rbp + 0x3e8]
mov qword [rbp + 0x3e8], r14
mov edx, 0x10
call fcn.14004846c
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0x10
jb 0x1400132e1
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400132dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov qword [rbp + 0x3d8], r14
mov qword [rbp + 0x3e0], 0xf
mov byte [rbp + 0x3c8], 0
mov rdx, qword [rbp + 0x3c0]
test rdx, rdx
je 0x14001330c
call fcn.140015be0
nop
lea rcx, [0x1400684d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140013326
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
add dword [0x140068520], 0xffffffff
jne 0x1400133d1
cmp byte [0x140068524], 0
je 0x14001334e
mov rcx, qword [0x140068528]
test rcx, rcx
je 0x14001334e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x140068530]
test rcx, rcx
je 0x140013360
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [0x1400684b0]
cmp qword [0x1400684c8], 8
cmovae rax, qword [0x1400684b0]
mov qword [0x1400684c0], r14
mov word [rax], r14w
mov qword [0x140068538], r14
mov rdi, qword [0x140068540]
mov qword [0x140068540], r14
test rdi, rdi
je 0x1400133d1
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400133d1
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14004448e.0]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400133d1
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14004448e.0]
lea rcx, [0x1400684d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rbp + 0x550]
call fcn.140035bf0
lea rcx, [rsp + 0x68]
call fcn.140013700
nop
lea rcx, [rbp + 0x350]
call fcn.140007d00
lea rcx, [rbp + 0x378]
call fcn.140015aa0
mov rcx, qword [rbp + 0x378]
mov qword [rbp + 0x378], r14
mov edx, 0x10
call fcn.14004846c
mov rdx, qword [rbp + 0x370]
cmp rdx, 0x10
jb 0x140013469
inc rdx
mov rcx, qword [rbp + 0x358]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov qword [rbp + 0x368], r14
mov qword [rbp + 0x370], 0xf
mov byte [rbp + 0x358], 0
mov rdx, qword [rbp + 0x350]
test rdx, rdx
je 0x140013494
call fcn.140015be0
nop
cmp byte [rbp + 0x58], 0
je 0x1400134be
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400134be
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14004448e.0]
mov qword [rbp + 0x50], r14
mov rbx, qword [rsp + 0x40]
jmp 0x1400134ef
cmp byte [rbp + 0x58], r14b
je 0x1400134ef
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400134ef
lea rdx, [rbp + 0x18]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14004448e.0]
mov qword [rbp + 0x50], r14
test rbx, rbx
je 0x140013509
mov rcx, rbx
call fcn.140007b90
mov rcx, rbx
mov edx, 0x50
call fcn.14004846c
mov rcx, qword [0x14006b1c0]
test rcx, rcx
je 0x14001351b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140028a30
mov dword [rbp + 0x70], r14d
mov qword [rbp + 0x78], r15
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x490]
call fcn.140003cc0
movups xmm0, xmmword [rbp + 0x490]
movups xmmword [rbp + 0x470], xmm0
movups xmm1, xmmword [rbp + 0x4a0]
movups xmmword [rbp + 0x480], xmm1
movq rax, xmm1
test rax, rax
jne 0x140013563
mov rdx, r14
jmp 0x14001357a
lea rdx, [rbp + 0x470]
cmp qword [rbp + 0x4a8], 8
cmovae rdx, qword [rbp + 0x490]
lea rcx, [rbp - 0x40]
call fcn.14000c250
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400135b4
mov rax, qword [rbx + 0x18]
call qword [case.0x14004448e.0]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400135a7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx], r14
mov edx, 0x90
mov rcx, rbx
call fcn.14004846c
mov rdx, qword [rbp + 0x488]
cmp rdx, 8
jb 0x1400135fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x470]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400135f5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400136a0
call fcn.14004846c
lea rcx, [rbp + 0x80]
call fcn.140013770
mov rdx, qword [rbp + 0x328]
cmp rdx, 8
jb 0x140013648
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013643
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400136a0
call fcn.14004846c
movdqa xmm0, xmmword [0x140059020]
movdqu xmmword [rbp + 0x320], xmm0
mov word [rbp + 0x310], r14w
mov ebx, r14d
mov rdx, qword [rbp + 0x348]
cmp rdx, 8
jb 0x1400136ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400136a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400136a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
mov qword [rbp + 0x340], r14
mov qword [rbp + 0x348], 7
mov word [rbp + 0x330], r14w
lea rcx, [rbp - 0x70]
call fcn.140014be0
mov eax, ebx
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.140047f60
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret