Function at 0x1400089c8
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 - 0xef8]
sub rsp, 0xfd0
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rbp + 0xec0], rax
mov r14, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x50], r12d
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x58], r12d
mov qword [rbp + 0x60], r12
mov r13d, r12d
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
mov dword [rbp + 0x78], r12d
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x18], r12d
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 - 8], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140039ed3
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, r12d
lea rcx, [rbp + 0x4a0]
call fcn.140009080
nop
mov qword [rbp + 0x120], r12
mov qword [rbp + 0x128], r12
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x138], r12d
lea rdx, [0x1400dd9d8]
lea rcx, [rbp - 0x50]
call fcn.140019a9c
nop
lea rdx, str.DefaultExcludedPaths
lea rcx, [rbp - 0x58]
call fcn.140012fc0
nop
lea rdx, [0x1400b3ad4]
lea rcx, [rbp - 0x60]
call fcn.140012fc0
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x68]
call fcn.140012fc0
nop
lea rax, [rbp + 0x120]
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 + 0x4a0]
call fcn.140009280
nop
mov rcx, qword [rbp - 0x68]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x58]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rbp + 0x120]
call fcn.14000f478
lea rcx, [rbp + 0x4a0]
call fcn.140008f90
cmp dword [rax + 8], r12d
ja 0x140039bae
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r12b
je 0x140008b93
lea r8, [rbp + 0x40]
lea rdx, str.DefaultExcludedPaths
mov rcx, r14
call fcn.140008184
mov esi, eax
lea rcx, [rbp + 0x4a0]
call fcn.140009034
test esi, esi
js 0x140008df3
mov esi, r12d
lea rcx, [rbp + 0x650]
call fcn.140009080
nop
mov qword [rbp + 0x140], r12
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x150], r12
mov dword [rbp + 0x158], r12d
lea rdx, [0x1400dd9d8]
lea rcx, [rbp - 0x30]
call fcn.140019a9c
nop
lea rdx, str.DefaultIndexedPaths
lea rcx, [rbp - 0x38]
call fcn.140012fc0
nop
lea rdx, [0x1400b3ad4]
lea rcx, [rbp - 0x40]
call fcn.140012fc0
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x48]
call fcn.140012fc0
nop
lea rax, [rbp + 0x140]
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 + 0x650]
call fcn.140009280
nop
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rbp + 0x140]
call fcn.14000f478
lea rcx, [rbp + 0x650]
call fcn.140008f90
cmp dword [rax + 8], r12d
ja 0x140039cbd
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r12b
je 0x140008cbd
lea r8, [rbp + 0x60]
lea rdx, str.DefaultIndexedPaths
mov rcx, r14
call fcn.140008184
mov esi, eax
lea rcx, [rbp + 0x650]
call fcn.140009034
test esi, esi
js 0x140008df3
mov esi, r12d
lea rcx, [rbp + 0x2f0]
call fcn.140009080
nop
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], r12
mov dword [rbp + 0x178], r12d
lea rdx, [0x1400dd9d8]
lea rcx, [rbp - 0x10]
call fcn.140019a9c
nop
lea rdx, str.PreventIndexingCertainPaths
lea rcx, [rbp - 0x18]
call fcn.140012fc0
nop
lea rdx, [0x1400b3ad4]
lea rcx, [rbp - 0x20]
call fcn.140012fc0
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rbp - 0x28]
call fcn.140012fc0
nop
lea rax, [rbp + 0x160]
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 + 0x2f0]
call fcn.140009280
nop
mov rcx, qword [rbp - 0x28]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x20]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x18]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rbp - 0x10]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rbp + 0x160]
call fcn.14000f478
lea rcx, [rbp + 0x2f0]
call fcn.140008f90
cmp dword [rax + 8], r12d
ja 0x140039dc8
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r12b
je 0x140008de7
lea r8, [rbp]
lea rdx, str.PreventIndexingCertainPaths
mov rcx, r14
call fcn.140008184
mov esi, eax
lea rcx, [rbp + 0x2f0]
call fcn.140009034
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop dword [rax + rax]
mov r13, qword [rbp + 0x68]
test esi, esi
js 0x140008f1a
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], 0xa
mov qword [rbp + 0xe8], r12
lea rdx, [0x1400dd9d8]
lea rcx, [rbp + 0xf0]
call fcn.140019a9c
nop
lea rdx, [0x1400dd9d8]
lea rcx, [rbp + 0xf8]
call fcn.140019a9c
nop
lea rdx, [r14 + 0x58]
lea rcx, [rbp + 0xf0]
call fcn.14000b560
lea rdx, [r14 + 0x50]
lea rcx, [rbp + 0xf8]
call fcn.14000b560
nop
mov r9, qword [r14 + 0xa8]
mov rdx, qword [r9]
mov rcx, r9
call fcn.14000bfa8
test rax, rax
je 0x140008eb2
mov rbx, rax
mov rdx, rax
mov rcx, r9
call fcn.14000b6c0
cmp dword [rbx + 0x68], r12d
je 0x140008e94
jmp 0x140039ef7
mov dword [rsp + 0x5c], r12d
test r13, r13
jne 0x140039f1f
mov dword [rsp + 0x58], r12d
mov rax, qword [rbp + 0x48]
test rax, rax
jne 0x14003a230
mov dword [rsp + 0x58], r12d
cmp qword [rbp + 8], r12
ja 0x14003a458
cmp qword [rbp + 0xc8], r12
ja 0x14003a809
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.14000bfa8
mov rbx, rax
test rax, rax
jne 0x14003a816
lea rcx, [rbp + 0xc0]
call fcn.14001c708
nop
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008f34
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rbp]
call fcn.14000f478
nop
lea rcx, [rbp + 0x60]
call fcn.14000f478
nop
lea rcx, [rbp + 0x40]
call fcn.14000f478
mov eax, esi
mov rcx, qword [rbp + 0xec0]
xor rcx, rsp
call fcn.140024990
lea r11, [rsp + 0xfd0]
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 r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x78]
call fcn.140019a9c
nop
lea rcx, [rbp + 0x4a0]
call fcn.140088fd0
mov rdx, r12
mov rcx, rax
call fcn.1400877d8
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14000b560
lea rcx, [rsp + 0x78]
call fcn.140014680
mov esi, eax
mov rbx, qword [rsp + 0x78]
test eax, eax
jns 0x140039c35
mov rdx, rbx
lea rcx, [rbp + 0xce0]
call fcn.14000e5c8
nop
lea r9, [rbp + 0xce0]
mov r8d, esi
mov edx, 0x14
call fcn.1400918d8
mov esi, r15d
lea rcx, [rbp + 0xce0]
call fcn.14000e3c0
jmp 0x140039c92
cmp byte [r14 + 0x11e], r15b
je 0x140039c85
mov word [rsp + 0x60], r15w
mov byte [rsp + 0x54], r15b
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400a3c9c
mov esi, eax
test eax, eax
js 0x140039c92
movzx eax, word [rsp + 0x60]
cmp word [r14 + 0x120], ax
je 0x140039c85
cmp byte [rsp + 0x54], r15b
jne 0x140039c85
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x140039c92
test ax, ax
jne 0x140039c92
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140008878
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
inc r12
sub r13, 1
jne 0x140039bb5
xor r12d, r12d
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x140008b93
jmp 0x140008b75
mov r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400dd9d8]
lea rcx, [rbp - 0x80]
call fcn.140019a9c
nop
lea rcx, [rbp + 0x650]
call fcn.140088fd0
mov rdx, r12
mov rcx, rax
call fcn.1400877d8
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000b560
lea rcx, [rbp - 0x80]
call fcn.140014680
mov esi, eax
mov rbx, qword [rbp - 0x80]
test eax, eax
jns 0x140039d40
mov rdx, rbx
lea rcx, [rbp + 0xe20]
call fcn.14000e5c8
nop
lea r9, [rbp + 0xe20]
mov r8d, esi
mov edx, 0x14
call fcn.1400918d8
mov esi, r15d
lea rcx, [rbp + 0xe20]
call fcn.14000e3c0
jmp 0x140039d9d
cmp byte [r14 + 0x11e], r15b
je 0x140039d90
mov word [rsp + 0x64], r15w
mov byte [rsp + 0x55], r15b
lea r8, [rsp + 0x55]
lea rdx, [rsp + 0x64]
mov rcx, rbx
call fcn.1400a3c9c
mov esi, eax
test eax, eax
js 0x140039d9d
movzx eax, word [rsp + 0x64]
cmp word [r14 + 0x120], ax
je 0x140039d90
cmp byte [rsp + 0x55], r15b
jne 0x140039d90
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x140039d9d
test ax, ax
jne 0x140039d9d
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.140008878
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
inc r12
sub r13, 1
jne 0x140039cc4
xor r12d, r12d
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x140008cbd
jmp 0x140008c9f
mov r13d, dword [rax + 8]
xor r15d, r15d
lea rdx, [0x1400dd9d8]
lea rcx, [rbp - 0x78]
call fcn.140019a9c
nop
lea rcx, [rbp + 0x2f0]
call fcn.140088fd0
mov rdx, r12
mov rcx, rax
call fcn.1400877d8
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000b560
lea rcx, [rbp - 0x78]
call fcn.140014680
mov esi, eax
mov rbx, qword [rbp - 0x78]
test eax, eax
jns 0x140039e4b
mov rdx, rbx
lea rcx, [rbp + 0xd80]
call fcn.14000e5c8
nop
lea r9, [rbp + 0xd80]
mov r8d, esi
mov edx, 0x14
call fcn.1400918d8
mov esi, r15d
lea rcx, [rbp + 0xd80]
call fcn.14000e3c0
jmp 0x140039ea8
cmp byte [r14 + 0x11e], r15b
je 0x140039e9b
mov word [rsp + 0x68], r15w
mov byte [rsp + 0x56], r15b
lea r8, [rsp + 0x56]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400a3c9c
mov esi, eax
test eax, eax
js 0x140039ea8
movzx eax, word [rsp + 0x68]
cmp word [r14 + 0x120], ax
je 0x140039e9b
cmp byte [rsp + 0x56], r15b
jne 0x140039e9b
cmp byte [r14 + reloc.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290], r15b
je 0x140039ea8
test ax, ax
jne 0x140039ea8
mov rdx, rbx
lea rcx, [rbp]
call fcn.140008878
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
inc r12
sub r13, 1
jne 0x140039dcf
xor r12d, r12d
test esi, esi
mov r15d, dword [rsp + 0x50]
js 0x140008de7
jmp 0x140008dc9
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 0x140008e06
movzx esi, ax
or esi, 0x80070000
jmp 0x140008e06
lea r8, [rbx + 0x38]
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140018f38
mov rdx, rbx
mov rcx, qword [r14 + 0xa8]
call fcn.140004428
nop
jmp 0x140008e82
mov rcx, r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x38], r12d
cmp rcx, r13
jae 0x14003a225
mov rax, qword [rbp + 0x60]
lea rdx, [rax + rcx*8]
lea r8, [rbp + 0x20]
mov rcx, r14
call fcn.140092bd0
mov esi, eax
test eax, eax
js 0x14003a216
mov dword [rsp + 0x58], r12d
cmp qword [rbp + 0x28], r12
jbe 0x14003a1e8
mov rbx, r12
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x70]
call fcn.140019a9c
nop
cmp rbx, qword [rbp + 0x28]
jae 0x14003a20b
mov rax, qword [rbp + 0x20]
lea rdx, [rax + rbx*8]
lea rcx, [rsp + 0x70]
call fcn.14000b560
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], 2
jl 0x14003a030
mov r8d, 2
lea rdx, [rbp + 0x108]
lea rcx, [rsp + 0x70]
call fcn.140019820
nop
or r15d, 1
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x2f
jne 0x140039fe7
movzx ecx, word [rdx + 2]
sub ecx, 0x2a
jne 0x140039fe7
movzx ecx, word [rdx + 4]
movzx eax, r12w
sub ecx, eax
test ecx, ecx
je 0x14003a02d
mov r8d, 2
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.140019820
or r15d, 2
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x5c
jne 0x14003a029
movzx ecx, word [rdx + 2]
sub ecx, 0x2a
jne 0x14003a029
movzx ecx, word [rdx + 4]
movzx eax, r12w
sub ecx, eax
test ecx, ecx
jne 0x14003a030
mov r12b, 1
test r15b, 2
je 0x14003a050
and r15d, 0xfffffffd
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x100]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
test r15b, 1
je 0x14003a06f
and r15d, 0xfffffffe
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x108]
add rcx, 0xffffffffffffffe8
call fcn.140016110
test r12b, r12b
je 0x14003a088
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x70]
call fcn.14008d9e4
mov rbx, qword [rsp + 0x70]
lea rax, [rbp + 0x818]
mov qword [rbp + 0x808], rax
mov qword [rbp + 0x810], SetErrorInfo
xor r12d, r12d
mov word [rbp + 0x818], r12w
lea rax, [0x1400ab8f8]
mov qword [rbp + 0x800], rax
mov rcx, rbx
call fcn.140019be0
test al, al
je 0x14003a0f6
lea r8, [rbp + 0x800]
mov rdx, rbx
mov rcx, qword [r14 + 0x128]
call fcn.14001bf20
test eax, eax
js 0x14003a0f6
mov rdx, qword [rbp + 0x808]
lea rcx, [rsp + 0x70]
call fcn.140011e78
mov rbx, qword [rsp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1f0]
call fcn.1400199c4
nop
mov byte [rsp + 0x48], r12b
mov dword [rsp + 0x40], r12d
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 + 0x270]
call fcn.140002108
nop
lea r9, [rbp + 0x270]
lea r8, [rbp + 0x1f0]
lea rdx, [rbp + 0xc0]
call fcn.1400913e4
lea rdx, [rbp + 0x1f0]
mov rcx, qword [r14 + 0xa8]
call fcn.140018f90
test rax, rax
je 0x14003a17d
add rax, 0x38
je 0x14003a17d
cmp dword [rax + 0x24], r12d
je 0x14003a198
lea r8, [rbp + 0x270]
lea rdx, [rbp + 0x1f0]
mov rcx, qword [r14 + 0xa8]
call fcn.140018f38
nop
lea rcx, [rbp + 0x270]
call fcn.140017660
nop
lea rcx, [rbp + 0x1f0]
call fcn.140015970
nop
lea rcx, [rbp + 0x800]
call fcn.140011e2c
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
mov r12d, dword [rsp + 0x58]
inc r12d
mov dword [rsp + 0x58], r12d
mov ebx, r12d
cmp rbx, qword [rbp + 0x28]
mov r12d, 0
jb 0x140039f6b
lea rcx, [rbp + 0x20]
call fcn.14000f478
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov ecx, eax
cmp rcx, r13
jb 0x140039f22
jmp 0x140008ec0
mov ecx, 0x80070057
call fcn.140049f74
nop
lea rcx, [rbp + 0x20]
call fcn.14000f478
nop
jmp 0x140008ec0
mov ecx, 0x80070057
call fcn.140049f74
nop
mov rcx, r12
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], r12
mov dword [rbp + 0x98], r12d
cmp rcx, rax
jae 0x14003a44d
mov rax, qword [rbp + 0x40]
lea rdx, [rax + rcx*8]
lea r8, [rbp + 0x80]
mov rcx, r14
call fcn.140092bd0
mov esi, eax
test eax, eax
js 0x14003a43b
mov dword [rsp + 0x5c], r12d
mov r12, qword [rbp + 0x88]
xor r13d, r13d
test r12, r12
je 0x14003a403
mov ebx, r13d
lea rax, [rbp + 0x9b8]
mov qword [rbp + 0x9a8], rax
mov qword [rbp + 0x9b0], SetErrorInfo
mov word [rbp + 0x9b8], r13w
lea rax, [0x1400ab8f8]
mov qword [rbp + 0x9a0], rax
cmp rbx, r12
jae 0x14003a430
mov rax, qword [rbp + 0x80]
lea r13, [rax + rbx*8]
mov rcx, qword [r13]
call fcn.140019be0
test al, al
je 0x14003a320
cmp rbx, r12
jae 0x14003a430
lea r8, [rbp + 0x9a0]
mov rdx, qword [r13]
mov rcx, qword [r14 + 0x128]
call fcn.14001bf20
test eax, eax
js 0x14003a320
cmp rbx, r12
jae 0x14003a430
mov rdx, qword [rbp + 0x9a8]
mov rcx, r13
call fcn.140011e78
cmp rbx, r12
jae 0x14003a430
mov rdx, r13
lea rcx, [rbp + 0x180]
call fcn.1400199c4
nop
xor eax, eax
mov byte [rsp + 0x48], al
mov dword [rsp + 0x40], eax
lea ebx, [rax + 1]
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x230]
call fcn.140002108
nop
lea r9, [rbp + 0x230]
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0xc0]
call fcn.1400913e4
lea rdx, [rbp + 0x180]
mov rcx, qword [r14 + 0xa8]
call fcn.140018f90
xor r13d, r13d
test rax, rax
je 0x14003a3ad
add rax, 0x38
je 0x14003a3ad
cmp dword [rax + 0x24], r13d
je 0x14003a3c8
lea r8, [rbp + 0x230]
lea rdx, [rbp + 0x180]
mov rcx, qword [r14 + 0xa8]
call fcn.140018f38
nop
lea rcx, [rbp + 0x230]
call fcn.140017660
nop
lea rcx, [rbp + 0x180]
call fcn.140015970
nop
lea rcx, [rbp + 0x9a0]
call fcn.140011e2c
mov eax, dword [rsp + 0x5c]
add eax, ebx
mov dword [rsp + 0x5c], eax
mov ebx, eax
cmp rbx, r12
jb 0x14003a294
lea rcx, [rbp + 0x80]
call fcn.14000f478
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov ecx, eax
mov rax, qword [rbp + 0x48]
xor r12d, r12d
cmp rcx, rax
jae 0x140008ed2
jmp 0x14003a233
mov ecx, 0x80070057
call fcn.140049f74
nop
lea rcx, [rbp + 0x80]
call fcn.14000f478
nop
jmp 0x140008ed2
mov ecx, 0x80070057
call fcn.140049f74
nop
mov rcx, r12
cmp rcx, qword [rbp + 8]
jae 0x14003a7fe
mov rax, qword [rbp]
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.0x140001f80.0]
mov rcx, rax
cmp dword [rbx + 0x10], r12d
jl 0x14003a4a4
cmp rax, qword [rbx]
jne 0x14003a4a4
lock inc dword [rbx + 0x10]
mov r15d, dword [rsp + 0x50]
jmp 0x14003a4f0
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.0x140001f80.0]
mov rbx, rax
test rax, rax
je 0x14003a7f8
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.14000b934
add rbx, 0x18
mov qword [rbp - 0x70], rbx
mov edi, 2
mov r8d, edi
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x70]
call fcn.140019820
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 0x14003a53a
movzx ecx, word [rdx + 2]
sub ecx, esi
jne 0x14003a53a
movzx ecx, word [rdx + 4]
movzx eax, r12w
sub ecx, eax
test ecx, ecx
je 0x14003a581
mov r8d, edi
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x70]
call fcn.140019820
or r15d, 8
mov dword [rsp + 0x50], r15d
mov rdx, qword [rax]
movzx ecx, word [rdx]
sub ecx, 0x2f
jne 0x14003a57a
movzx ecx, word [rdx + 2]
movzx eax, si
sub ecx, eax
jne 0x14003a57a
movzx ecx, word [rdx + 4]
movzx eax, r12w
sub ecx, eax
test ecx, ecx
mov dil, r12b
jne 0x14003a584
mov dil, 1
test r15b, 8
je 0x14003a5a4
and r15d, 0xfffffff7
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x110]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
test r15b, 4
je 0x14003a5c3
and r15d, 0xfffffffb
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x118]
add rcx, 0xffffffffffffffe8
call fcn.140016110
test dil, dil
je 0x14003a5da
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rbp - 0x70]
call fcn.14008d9e4
mov rbx, qword [rbp - 0x70]
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], r12
mov dword [rbp + 0xb8], r12d
lea r8, [rbp + 0xa0]
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.140092bd0
mov esi, eax
test eax, eax
js 0x14003a7d9
mov dword [rsp + 0x5c], r12d
mov r12, qword [rbp + 0xa8]
xor ecx, ecx
test r12, r12
je 0x14003a79e
mov edi, ecx
lea rax, [rbp + 0xb58]
mov qword [rbp + 0xb48], rax
mov qword [rbp + 0xb50], SetErrorInfo
mov word [rbp + 0xb58], cx
lea rax, [0x1400ab8f8]
mov qword [rbp + 0xb40], rax
cmp rdi, r12
jae 0x14003a7ce
mov rax, qword [rbp + 0xa0]
lea r13, [rax + rdi*8]
mov rcx, qword [r13]
call fcn.140019be0
test al, al
je 0x14003a6b7
cmp rdi, r12
jae 0x14003a7ce
lea r8, [rbp + 0xb40]
mov rdx, qword [r13]
mov rcx, qword [r14 + 0x128]
call fcn.14001bf20
test eax, eax
js 0x14003a6b7
cmp rdi, r12
jae 0x14003a7ce
mov rdx, qword [rbp + 0xb48]
mov rcx, r13
call fcn.140011e78
cmp rdi, r12
jae 0x14003a7ce
mov rdx, r13
lea rcx, [rbp + 0x1b8]
call fcn.1400199c4
nop
xor eax, eax
mov byte [rsp + 0x48], al
mov dword [rsp + 0x40], eax
lea edi, [rax + 1]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x2b0]
call fcn.140002108
nop
lea r9, [rbp + 0x2b0]
lea r8, [rbp + 0x1b8]
lea rdx, [rbp + 0xc0]
call fcn.1400913e4
lea rdx, [rbp + 0x1b8]
mov rcx, qword [r14 + 0xa8]
call fcn.140004428
lea rdx, [rbp + 0x1b8]
mov rcx, qword [r14 + 0xa8]
call fcn.140090e54
lea r8, [rbp + 0x2b0]
lea rdx, [rbp + 0x1b8]
mov rcx, qword [r14 + 0xa8]
call fcn.140018f38
nop
lea rcx, [rbp + 0x2b0]
call fcn.140017660
nop
lea rcx, [rbp + 0x1b8]
call fcn.140015970
nop
lea rcx, [rbp + 0xb40]
call fcn.140011e2c
mov eax, dword [rsp + 0x5c]
add eax, edi
mov dword [rsp + 0x5c], eax
mov edi, eax
cmp rdi, r12
mov ecx, 0
jb 0x14003a62c
lea rcx, [rbp + 0xa0]
call fcn.14000f478
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov ecx, eax
xor r12d, r12d
cmp rcx, qword [rbp + 8]
jae 0x14003a7ef
jmp 0x14003a45b
mov ecx, 0x80070057
call fcn.140049f74
nop
lea rcx, [rbp + 0xa0]
call fcn.14000f478
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
mov rdi, qword [rbp - 8]
jmp 0x140008ee1
call fcn.14005e338
int3
mov ecx, 0x80070057
call fcn.140049f74
int3
mov byte [r14 + 0x11a], 1
jmp 0x140008eee
mov r9, rbx
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.14000b6c0
mov rbx, rax
mov rdx, qword [r9 + 0x28]
lea rcx, [r14 + 0x80]
call fcn.140008878
test rbx, rbx
jne 0x14003a816
jmp 0x140008f0d