Function at 0x1400083b4
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf08]
sub rsp, 0xfe0
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0xed0], rax
mov r14, rcx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x50], r13d
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov dword [rbp + 0x50], r13d
mov qword [rbp + 0x58], r13
mov r12d, r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov dword [rbp + 0x70], r13d
mov qword [rbp - 8], r13
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov dword [rbp + 0x10], r13d
lea r8, str.CSM_Policy_Key_Mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rdi, rax
mov qword [rbp + 0x108], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140049211
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov esi, r13d
lea rcx, [rbp + 0x4b0]
call fcn.140008d24
nop
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], r13
mov dword [rbp + 0x148], r13d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x50]
call fcn.14001a960
nop
lea rdx, str.DefaultExcludedPaths
lea rcx, [rbp - 0x58]
call fcn.140016b70
nop
lea rdx, [0x1400aa5f0]
lea rcx, [rbp - 0x60]
call fcn.140016b70
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x68]
call fcn.140016b70
nop
lea rax, [rbp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x4b0]
call fcn.140008f80
nop
mov rcx, qword [rbp - 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x58]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rbp + 0x130]
call fcn.14001185c
lea rcx, [rbp + 0x4b0]
call fcn.140008f10
cmp dword [rax + 8], r13d
ja 0x140048ef0
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r13b
je 0x140008582
lea r8, [rbp + 0x38]
lea rdx, str.DefaultExcludedPaths
mov rcx, r14
call fcn.14000896c
mov esi, eax
lea rcx, [rbp + 0x4b0]
call fcn.140008da4
test esi, esi
js 0x1400087e2
mov esi, r13d
lea rcx, [rbp + 0x660]
call fcn.140008d24
nop
mov qword [rbp + 0x150], r13
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x160], r13
mov dword [rbp + 0x168], r13d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x30]
call fcn.14001a960
nop
lea rdx, str.DefaultIndexedPaths
lea rcx, [rbp - 0x38]
call fcn.140016b70
nop
lea rdx, [0x1400aa5f0]
lea rcx, [rbp - 0x40]
call fcn.140016b70
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x48]
call fcn.140016b70
nop
lea rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x660]
call fcn.140008f80
nop
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x30]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rbp + 0x150]
call fcn.14001185c
lea rcx, [rbp + 0x660]
call fcn.140008f10
cmp dword [rax + 8], r13d
ja 0x140048ffb
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r13b
je 0x1400086ac
lea r8, [rbp + 0x58]
lea rdx, str.DefaultIndexedPaths
mov rcx, r14
call fcn.14000896c
mov esi, eax
lea rcx, [rbp + 0x660]
call fcn.140008da4
test esi, esi
js 0x1400087e2
mov esi, r13d
lea rcx, [rbp + 0x300]
call fcn.140008d24
nop
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], r13
mov dword [rbp + 0x188], r13d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x10]
call fcn.14001a960
nop
lea rdx, str.PreventIndexingCertainPaths
lea rcx, [rbp - 0x18]
call fcn.140016b70
nop
lea rdx, [0x1400aa5f0]
lea rcx, [rbp - 0x20]
call fcn.140016b70
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x28]
call fcn.140016b70
nop
lea rax, [rbp + 0x170]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x300]
call fcn.140008f80
nop
mov rcx, qword [rbp - 0x28]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x20]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x18]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rcx, qword [rbp - 0x10]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rbp + 0x170]
call fcn.14001185c
lea rcx, [rbp + 0x300]
call fcn.140008f10
cmp dword [rax + 8], r13d
ja 0x140049106
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r13b
je 0x1400087d6
lea r8, [rbp - 8]
lea rdx, str.PreventIndexingCertainPaths
mov rcx, r14
call fcn.14000896c
mov esi, eax
lea rcx, [rbp + 0x300]
call fcn.140008da4
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop dword [rax + rax]
mov r12, qword [rbp + 0x60]
test esi, esi
js 0x140008907
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], 0xa
mov qword [rbp + 0xe8], r13
lea rdx, [0x1400d2520]
lea rcx, [rbp + 0xf0]
call fcn.14001a960
nop
lea rdx, [0x1400d2520]
lea rcx, [rbp + 0xf8]
call fcn.14001a960
nop
lea rdx, [r14 + 0x58]
lea rcx, [rbp + 0xf0]
call fcn.1400202e0
lea rdx, [r14 + 0x50]
lea rcx, [rbp + 0xf8]
call fcn.1400202e0
nop
mov r9, qword [r14 + 0xa8]
mov rdx, qword [r9]
mov rcx, r9
call fcn.1400222ec
test rax, rax
je 0x1400088a1
mov rbx, rax
mov rdx, rax
mov rcx, r9
call fcn.140020410
cmp dword [rbx + 0x68], r13d
je 0x140008883
jmp 0x140049235
mov dword [rsp + 0x68], r13d
test r12, r12
jne 0x14004925d
mov r12d, r13d
mov rax, qword [rbp + 0x40]
test rax, rax
jne 0x14004958d
mov dword [rsp + 0x64], r13d
cmp qword [rbp], r13
ja 0x1400497b8
cmp qword [rbp + 0xc8], r13
ja 0x140049ba9
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.1400222ec
mov rbx, rax
test rax, rax
jne 0x140049bb6
lea rcx, [rbp + 0xc0]
call fcn.1400125e8
nop
lea rcx, [rbp + 0x108]
call fcn.14001d64c
nop
lea rcx, [rbp - 8]
call fcn.14001185c
nop
lea rcx, [rbp + 0x58]
call fcn.14001185c
nop
lea rcx, [rbp + 0x38]
call fcn.14001185c
mov eax, esi
mov rcx, qword [rbp + 0xed0]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0xfe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r12, r13
mov r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x80]
call fcn.14001a960
nop
lea rcx, [rbp + 0x4b0]
call fcn.140083780
mov rdx, r12
mov rcx, rax
call fcn.140082030
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400202e0
lea rcx, [rbp - 0x80]
call fcn.1400154c0
mov esi, eax
mov rbx, qword [rbp - 0x80]
test eax, eax
jns 0x140048f76
mov rdx, rbx
lea rcx, [rbp + 0xcf0]
call fcn.140011230
nop
lea r9, [rbp + 0xcf0]
mov r8d, esi
mov edx, 0x14
call fcn.14008b828
mov esi, r15d
lea rcx, [rbp + 0xcf0]
call fcn.140011278
jmp 0x140048fd3
cmp byte [r14 + 0x11e], r15b
je 0x140048fc6
mov word [rsp + 0x58], r15w
mov byte [rsp + 0x54], r15b
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14009bc20
mov esi, eax
test eax, eax
js 0x140048fd3
movzx eax, word [rsp + 0x58]
cmp word [r14 + 0x120], ax
je 0x140048fc6
cmp byte [rsp + 0x54], r15b
jne 0x140048fc6
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x140048fd3
test ax, ax
jne 0x140048fd3
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.14000933c
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
inc r12
sub r13, 1
jne 0x140048efa
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x140008582
jmp 0x140008564
mov r12, r13
mov r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x78]
call fcn.14001a960
nop
lea rcx, [rbp + 0x660]
call fcn.140083780
mov rdx, r12
mov rcx, rax
call fcn.140082030
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400202e0
lea rcx, [rbp - 0x78]
call fcn.1400154c0
mov esi, eax
mov rbx, qword [rbp - 0x78]
test eax, eax
jns 0x140049081
mov rdx, rbx
lea rcx, [rbp + 0xe30]
call fcn.140011230
nop
lea r9, [rbp + 0xe30]
mov r8d, esi
mov edx, 0x14
call fcn.14008b828
mov esi, r15d
lea rcx, [rbp + 0xe30]
call fcn.140011278
jmp 0x1400490de
cmp byte [r14 + 0x11e], r15b
je 0x1400490d1
mov word [rsp + 0x5c], r15w
mov byte [rsp + 0x55], r15b
lea r8, [rsp + 0x55]
lea rdx, [rsp + 0x5c]
mov rcx, rbx
call fcn.14009bc20
mov esi, eax
test eax, eax
js 0x1400490de
movzx eax, word [rsp + 0x5c]
cmp word [r14 + 0x120], ax
je 0x1400490d1
cmp byte [rsp + 0x55], r15b
jne 0x1400490d1
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x1400490de
test ax, ax
jne 0x1400490de
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.14000933c
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
inc r12
sub r13, 1
jne 0x140049005
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x1400086ac
jmp 0x14000868e
mov r12, r13
mov r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400d2520]
lea rcx, [rbp - 0x70]
call fcn.14001a960
nop
lea rcx, [rbp + 0x300]
call fcn.140083780
mov rdx, r12
mov rcx, rax
call fcn.140082030
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400202e0
lea rcx, [rbp - 0x70]
call fcn.1400154c0
mov esi, eax
mov rbx, qword [rbp - 0x70]
test eax, eax
jns 0x14004918c
mov rdx, rbx
lea rcx, [rbp + 0xd90]
call fcn.140011230
nop
lea r9, [rbp + 0xd90]
mov r8d, esi
mov edx, 0x14
call fcn.14008b828
mov esi, r15d
lea rcx, [rbp + 0xd90]
call fcn.140011278
jmp 0x1400491e9
cmp byte [r14 + 0x11e], r15b
je 0x1400491dc
mov word [rsp + 0x60], r15w
mov byte [rsp + 0x56], r15b
lea r8, [rsp + 0x56]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14009bc20
mov esi, eax
test eax, eax
js 0x1400491e9
movzx eax, word [rsp + 0x60]
cmp word [r14 + 0x120], ax
je 0x1400491dc
cmp byte [rsp + 0x56], r15b
jne 0x1400491dc
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x1400491e9
test ax, ax
jne 0x1400491e9
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.14000933c
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
inc r12
sub r13, 1
jne 0x140049110
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x1400087d6
jmp 0x1400087b8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jle 0x1400087f5
movzx esi, ax
or esi, 0x80070000
jmp 0x1400087f5
lea r8, [rbx + 0x38]
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140019ca8
mov rdx, rbx
mov rcx, qword [r14 + 0xa8]
call fcn.140005718
nop
jmp 0x140008871
mov rcx, r13
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x90], r13d
cmp rcx, r12
jae 0x140049582
mov rax, qword [rbp + 0x58]
lea rdx, [rax + rcx*8]
lea r8, [rbp + 0x78]
mov rcx, r14
call fcn.14008ca64
mov esi, eax
test eax, eax
js 0x140049573
mov dword [rsp + 0x64], r13d
mov r13, qword [rbp + 0x80]
xor edi, edi
test r13, r13
je 0x140049542
mov ebx, edi
lea rdx, [0x1400d2520]
lea rcx, [rsp + 0x70]
call fcn.14001a960
nop
cmp rbx, r13
jae 0x140049568
mov rax, qword [rbp + 0x78]
lea rdx, [rax + rbx*8]
lea rcx, [rsp + 0x70]
call fcn.1400202e0
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], 2
jl 0x14004937b
mov r8d, 2
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.14001a374
nop
or r15d, 1
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x2f
jne 0x140049333
movzx ecx, word [rdx + 2]
sub ecx, 0x2a
jne 0x140049333
movzx ecx, word [rdx + 4]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x140049378
mov r8d, 2
lea rdx, [rbp + 0x118]
lea rcx, [rsp + 0x70]
call fcn.14001a374
or r15d, 2
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x5c
jne 0x140049374
movzx ecx, word [rdx + 2]
sub ecx, 0x2a
jne 0x140049374
movzx ecx, word [rdx + 4]
movzx eax, di
sub ecx, eax
test ecx, ecx
jne 0x14004937b
mov dil, 1
test r15b, 2
je 0x14004939b
and r15d, 0xfffffffd
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x118]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
test r15b, 1
je 0x1400493ba
and r15d, 0xfffffffe
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x110]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
test dil, dil
je 0x1400493d3
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x70]
call fcn.140087ce8
mov rbx, qword [rsp + 0x70]
lea rax, [rbp + 0x828]
mov qword [rbp + 0x818], rax
mov qword [rbp + 0x820], 0xc1
xor edi, edi
mov word [rbp + 0x828], di
lea rax, [0x1400a2c50]
mov qword [rbp + 0x810], rax
mov rcx, rbx
call fcn.14001af10
test al, al
je 0x140049458
lea r8, [rbp + 0x810]
mov rdx, rbx
mov rcx, qword [r14 + 0x128]
call fcn.14001b1a8
test eax, eax
js 0x140049458
mov rdx, qword [rbp + 0x818]
test rdx, rdx
jne 0x140049439
mov eax, edi
jmp 0x140049446
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], di
jne 0x14004943d
mov r8d, eax
lea rcx, [rsp + 0x70]
call fcn.140016a94
mov rbx, qword [rsp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x200]
call fcn.14001a8f8
nop
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x40], edi
mov eax, 1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x280]
call fcn.140002d6c
nop
lea r9, [rbp + 0x280]
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0xc0]
call fcn.14008b33c
lea rdx, [rbp + 0x200]
mov rcx, qword [r14 + 0xa8]
call fcn.140019d00
test rax, rax
je 0x1400494dd
add rax, 0x38
je 0x1400494dd
cmp dword [rax + 0x24], edi
je 0x1400494f8
lea r8, [rbp + 0x280]
lea rdx, [rbp + 0x200]
mov rcx, qword [r14 + 0xa8]
call fcn.140019ca8
nop
lea rcx, [rbp + 0x280]
call fcn.140019208
nop
lea rcx, [rbp + 0x200]
call fcn.140016c90
nop
lea rcx, [rbp + 0x810]
call fcn.1400141e8
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
mov edi, dword [rsp + 0x64]
inc edi
mov dword [rsp + 0x64], edi
mov ebx, edi
cmp rbx, r13
mov edi, 0
jb 0x1400492b9
lea rcx, [rbp + 0x78]
call fcn.14001185c
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov ecx, eax
xor r13d, r13d
cmp rcx, r12
jae 0x1400088af
jmp 0x140049260
mov ecx, 0x80070057
call fcn.140056d94
nop
lea rcx, [rbp + 0x78]
call fcn.14001185c
nop
jmp 0x1400088af
mov ecx, 0x80070057
call fcn.140056d94
nop
mov rcx, r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov dword [rbp + 0x30], r13d
cmp rcx, rax
jae 0x1400497ad
mov rax, qword [rbp + 0x38]
lea rdx, [rax + rcx*8]
lea r8, [rbp + 0x18]
mov rcx, r14
call fcn.14008ca64
mov esi, eax
test eax, eax
js 0x14004979e
mov rdi, qword [rbp + 0x20]
xor ecx, ecx
test rdi, rdi
je 0x14004976f
mov ebx, ecx
lea rax, [rbp + 0x9c8]
mov qword [rbp + 0x9b8], rax
mov qword [rbp + 0x9c0], 0xc1
mov word [rbp + 0x9c8], cx
lea rax, [0x1400a2c50]
mov qword [rbp + 0x9b0], rax
cmp rbx, rdi
jae 0x140049793
mov rax, qword [rbp + 0x18]
lea rax, [rax + rbx*8]
mov qword [rsp + 0x78], rax
mov rcx, qword [rax]
call fcn.14001af10
test al, al
je 0x14004968b
cmp rbx, rdi
jae 0x140049793
mov rax, qword [rbp + 0x18]
lea rax, [rax + rbx*8]
lea r8, [rbp + 0x9b0]
mov rdx, qword [rax]
mov rcx, qword [r14 + 0x128]
call fcn.14001b1a8
xor ecx, ecx
test eax, eax
js 0x14004968b
cmp rbx, rdi
jae 0x140049793
mov rdx, qword [rbp + 0x9b8]
test rdx, rdx
jne 0x14004966e
mov eax, ecx
jmp 0x14004967b
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x140049672
mov r8d, eax
mov rax, qword [rbp + 0x18]
lea rcx, [rax + rbx*8]
call fcn.140016a94
cmp rbx, rdi
jae 0x140049793
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x190]
call fcn.14001a8f8
nop
xor ecx, ecx
mov byte [rsp + 0x48], cl
mov dword [rsp + 0x40], ecx
lea eax, [rcx + 1]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x240]
call fcn.140002d6c
nop
lea r9, [rbp + 0x240]
lea r8, [rbp + 0x190]
lea rdx, [rbp + 0xc0]
call fcn.14008b33c
lea rdx, [rbp + 0x190]
mov rcx, qword [r14 + 0xa8]
call fcn.140019d00
xor ecx, ecx
test rax, rax
je 0x14004971a
add rax, 0x38
je 0x14004971a
cmp dword [rax + 0x24], ecx
je 0x140049735
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x190]
mov rcx, qword [r14 + 0xa8]
call fcn.140019ca8
nop
lea rcx, [rbp + 0x240]
call fcn.140019208
nop
lea rcx, [rbp + 0x190]
call fcn.140016c90
nop
lea rcx, [rbp + 0x9b0]
call fcn.1400141e8
inc r13d
mov ebx, r13d
cmp rbx, rdi
mov ecx, 0
jb 0x1400495d8
lea rcx, [rbp + 0x18]
call fcn.14001185c
inc r12d
mov ecx, r12d
mov rax, qword [rbp + 0x40]
xor r13d, r13d
cmp rcx, rax
jae 0x1400088bf
jmp 0x140049590
mov ecx, 0x80070057
call fcn.140056d94
nop
lea rcx, [rbp + 0x18]
call fcn.14001185c
nop
jmp 0x1400088bf
mov ecx, 0x80070057
call fcn.140056d94
nop
mov rcx, r13
cmp rcx, qword [rbp]
jb 0x1400497cc
mov ecx, 0x80070057
call fcn.140056d94
int3
mov rax, qword [rbp - 8]
mov rsi, qword [rax + rcx*8]
lea rbx, [rsi - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rcx, rax
cmp dword [rbx + 0x10], r13d
jl 0x14004980b
cmp rax, qword [rbx]
jne 0x14004980b
lock inc dword [rbx + 0x10]
mov r15d, dword [rsp + 0x50]
jmp 0x140049857
mov rax, qword [rax]
lea rdi, [rbx + 8]
movabs r10, 0x9230265a36d2c270
mov r8d, 2
mov edx, dword [rdi]
mov rax, qword [rax]
call qword [case.0x14001f589.0]
mov rbx, rax
test rax, rax
je 0x140049ba3
mov ecx, dword [rdi]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x18]
mov edx, dword [rdi]
inc edx
movsxd rdx, edx
add rdx, rdx
mov r9, rdx
mov r8, rsi
call fcn.1400111d4
add rbx, 0x18
mov qword [rsp + 0x78], rbx
mov edi, 2
mov r8d, edi
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x78]
call fcn.14001a374
nop
or r15d, 4
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x5c
lea esi, [rdi + 0x28]
jne 0x1400498a6
movzx ecx, word [rdx + 2]
movzx eax, si
sub ecx, eax
jne 0x1400498a6
movzx ecx, word [rdx + 4]
movzx eax, r13w
sub ecx, eax
test ecx, ecx
je 0x1400498ee
mov r8d, edi
lea rdx, [rbp + 0x128]
lea rcx, [rsp + 0x78]
call fcn.14001a374
or r15d, 8
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x2f
jne 0x1400498e7
movzx ecx, word [rdx + 2]
movzx eax, si
sub ecx, eax
jne 0x1400498e7
movzx ecx, word [rdx + 4]
movzx eax, r13w
sub ecx, eax
test ecx, ecx
mov dil, r13b
jne 0x1400498f1
mov dil, 1
test r15b, 8
je 0x140049911
and r15d, 0xfffffff7
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x128]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
test r15b, 4
je 0x140049930
and r15d, 0xfffffffb
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x120]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
test dil, dil
je 0x140049949
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x78]
call fcn.140087ce8
mov rbx, qword [rsp + 0x78]
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov dword [rbp + 0xb0], r13d
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.14008ca64
mov esi, eax
test eax, eax
js 0x140049b87
mov dword [rsp + 0x68], r13d
mov r12, qword [rbp + 0xa0]
test r12, r12
je 0x140049b4b
mov rdi, r13
lea rax, [rbp + 0xb68]
mov qword [rbp + 0xb58], rax
mov qword [rbp + 0xb60], 0xc1
mov word [rbp + 0xb68], r13w
lea rax, [0x1400a2c50]
mov qword [rbp + 0xb50], rax
cmp rdi, r12
jae 0x140049b7c
mov r13, qword [rbp + 0x98]
lea rax, [rdi*8]
add rax, r13
mov qword [rbp + 0x100], rax
mov rcx, qword [rax]
call fcn.14001af10
test al, al
je 0x140049a54
cmp rdi, r12
jae 0x140049b7c
lea r13, [r13 + rdi*8]
lea r8, [rbp + 0xb50]
mov rdx, qword [r13]
mov rcx, qword [r14 + 0x128]
call fcn.14001b1a8
xor ecx, ecx
test eax, eax
js 0x140049a54
cmp rdi, r12
jae 0x140049b7c
mov rdx, qword [rbp + 0xb58]
test rdx, rdx
jne 0x140049a3c
mov eax, ecx
jmp 0x140049a49
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x140049a40
mov r8d, eax
mov rcx, r13
call fcn.140016a94
cmp rdi, r12
jae 0x140049b7c
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x1c8]
call fcn.14001a8f8
nop
xor r13d, r13d
mov byte [rsp + 0x48], r13b
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x2c0]
call fcn.140002d6c
nop
lea r9, [rbp + 0x2c0]
lea r8, [rbp + 0x1c8]
lea rdx, [rbp + 0xc0]
call fcn.14008b33c
lea rdx, [rbp + 0x1c8]
mov rcx, qword [r14 + 0xa8]
call fcn.140005718
lea rdx, [rbp + 0x1c8]
mov rcx, qword [r14 + 0xa8]
call fcn.14008ade0
lea r8, [rbp + 0x2c0]
lea rdx, [rbp + 0x1c8]
mov rcx, qword [r14 + 0xa8]
call fcn.140019ca8
nop
lea rcx, [rbp + 0x2c0]
call fcn.140019208
nop
lea rcx, [rbp + 0x1c8]
call fcn.140016c90
nop
lea rcx, [rbp + 0xb50]
call fcn.1400141e8
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov edi, eax
cmp rdi, r12
jb 0x14004999b
lea rcx, [rbp + 0x98]
call fcn.14001185c
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov ecx, eax
cmp rcx, qword [rbp]
jb 0x1400497cc
jmp 0x1400088ce
mov ecx, 0x80070057
call fcn.140056d94
nop
lea rcx, [rbp + 0x98]
call fcn.14001185c
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
nop
jmp 0x1400088ce
call fcn.140064078
int3
mov byte [r14 + 0x11a], 1
jmp 0x1400088db
mov r9, rbx
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140020410
mov rbx, rax
mov rdx, qword [r9 + 0x28]
lea rcx, [r14 + 0x80]
call fcn.14000933c
test rbx, rbx
jne 0x140049bb6
jmp 0x1400088fa