Function at 0x1800f6bd0
Capabilities:
Enumerate gui resources
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov qword [rbp + 0x1c0], 0xfffffffffffffffe
mov qword [rsp + 0x410], rbx
mov r12, r9
mov rdi, r8
mov r13, rcx
xor r14d, r14d
mov dword [rbp + 0x338], r14d
mov rax, qword [rdx]
mov qword [rbp + 0x320], rax
lea rdx, [rax - 0x10]
lea r15, [0x1802bccb0]
cmp rdx, r15
je 0x1800f6c34
mov eax, 1
lock xadd dword [rdx], eax
lea rsi, [0x1802bccc0]
mov qword [rsp + 0x50], rsi
xor ecx, ecx
call fcn.1800a09c8
mov edx, 2
mov ecx, 0x8001
call fcn.1800a0a08
mov rbx, rax
mov qword [rbp + 0x318], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
lea rax, vtable.juce::Component.0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x120], xmm1
mov qword [rbp + 0x130], r14
mov dword [rbp + 0x138], r14d
mov dword [rbp + 0x140], r14d
mov qword [rbp + 0x148], r14
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmmword [rbp + 0x170], xmm0
mov dword [rbp + 0x180], r14d
mov dword [rbp + 0x188], r14d
mov qword [rbp + 0x190], r14
mov dword [rbp + 0x198], r14d
mov dword [rbp + 0x1a0], r14d
mov qword [rbp + 0x1a8], r14
mov dword [rbp + 0x1b0], r14d
mov byte [rbp + 0x1b4], 0
mov rax, qword [0x180421b70]
test rax, rax
jne 0x1800f6d47
mov ecx, 0x168
call fcn.1800a103c
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800f6d3d
mov rcx, rax
call fcn.180168d20
jmp 0x1800f6d40
mov rax, r14
mov qword [0x180421b70], rax
mov rax, qword [rax + 0xa0]
mov rcx, qword [rax]
mov r10d, dword [rcx]
mov dword [rbp + 0x90], r10d
mov r9d, dword [rcx + 4]
mov dword [rbp + 0x94], r9d
mov r8d, dword [rcx + 8]
mov dword [rbp + 0x98], r8d
mov eax, dword [rcx + 0xc]
mov dword [rbp + 0x9c], eax
cdq
and edx, 3
lea ecx, [rdx + rax]
sar ecx, 2
add ecx, r9d
mov eax, r8d
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, r10d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ecx
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.1801719d0
movzx eax, byte [rbp + 0x1b0]
test al, 4
jne 0x1800f6e77
or al, 4
mov byte [rbp + 0x1b0], al
test al, 1
je 0x1800f6e52
mov rax, qword [0x180421b70]
test rax, rax
jne 0x1800f6e01
mov ecx, 0x168
call fcn.1800a103c
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800f6df7
mov rcx, rax
call fcn.180168d20
jmp 0x1800f6dfa
mov rax, r14
mov qword [0x180421b70], rax
mov rcx, qword [rax + 0x88]
movsxd rax, dword [rax + 0x98]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1800f6e52
nop dword [rax + rax]
mov rax, qword [rcx]
lea r8, [rbp + 0xf0]
cmp qword [rax + 8], r8
je 0x1800f6e3b
add rcx, 8
cmp rcx, rdx
jne 0x1800f6e20
jmp 0x1800f6e52
xor r8d, r8d
mov edx, dword [rax + 0x10]
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0xf0]
call qword [rax + 0x60]
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0xf0]
call fcn.180173f30
mov r8b, 1
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.18016cd80
mov byte [rbp + 0x338], 0
lea rdx, [rbp + 0x338]
lea rcx, [0x1800f9190]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [rbp + 0x338]
lea rcx, [rbp + 0xf0]
call fcn.180171b70
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xf0]
call fcn.180174000
xor edx, edx
lea rcx, [rbp + 0xf0]
call fcn.180171540
test al, al
jne 0x1800f6f06
call fcn.180028090
xor r8d, r8d
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.1801678a0
mov dl, 1
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0xf0]
call qword [rax + 0x50]
mov r8b, 1
mov edx, 2
lea rcx, [rbp + 0xf0]
call fcn.180169c80
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800e6c30
nop
mov rdx, rdi
lea rcx, [rbp + 0x1c8]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or rsi, 0xffffffffffffffff
test al, 0x10
je 0x1800f6f3d
cmp eax, 0xffffffff
jne 0x1800f6fd3
mov rcx, rdi
call fcn.1800e7770
test al, al
jne 0x1800f6fd3
lea rdx, [rbp + 0xa8]
mov rcx, rdi
call fcn.1800ec330
mov rax, qword [rax]
mov qword [rbp + 0x1e8], rax
test rbx, rbx
je 0x1800f6f8c
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x38], rax
mov r8d, 0x10000
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.18001c6f0
mov rcx, qword [rbp + 0xa8]
add rcx, 0xfffffffffffffff0
lea rdi, [0x1802bccb0]
cmp rcx, rdi
je 0x1800f6fb5
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f6fb5
call fcn.1800a0c6c
mov rax, qword [rsp + 0x30]
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1800f7000
mov eax, 1
lock xadd dword [rcx], eax
mov rax, qword [rsp + 0x30]
jmp 0x1800f7000
mov rax, qword [rdi]
mov qword [rbp + 0x1f8], rax
lea rcx, [rax - 0x10]
cmp rcx, r15
je 0x1800f6fef
mov eax, 1
lock xadd dword [rcx], eax
mov rax, qword [rdi]
mov qword [rbp + 0x208], rax
lea rdi, [0x1802bccb0]
xchg qword [rsp + 0x38], rax
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1800f7020
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7020
call fcn.1800a0c6c
movzx r15d, byte [rbp + 0x350]
cmp byte [rbp + 0x330], 0
je 0x1800f73b0
mov qword [rbp + 0xb0], r14
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
test byte [rbp + 0x1b0], 1
je 0x1800f70ee
mov rax, qword [0x180421b70]
test rax, rax
jne 0x1800f70ab
mov ecx, 0x168
call fcn.1800a103c
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800f70a1
mov rcx, rax
call fcn.180168d20
jmp 0x1800f70a4
mov rax, r14
mov qword [0x180421b70], rax
mov rcx, qword [rax + 0x88]
movsxd rax, dword [rax + 0x98]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1800f70e9
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea r8, [rbp + 0xf0]
cmp qword [rax + 8], r8
je 0x1800f70ff
add rcx, 8
cmp rcx, rdx
jne 0x1800f70d0
mov rax, r14
jmp 0x1800f70ff
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1800f710f
call fcn.180173fd0
test rax, rax
je 0x1800f710f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1800f7112
mov rax, r14
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x320]
cmp byte [rax], 0
jne 0x1800f713c
lea rdi, [0x1802bcf68]
jmp 0x1800f71b2
mov rbx, qword [rbp + 0x320]
mov qword [rbp + 0x68], rbx
lea rcx, [rbp + 0x68]
call fcn.18001b380
mov rcx, rax
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1800f7156
add rdi, 4
mov eax, 0xfffffffc
and rdi, rax
mov rax, qword [rbp + 0x320]
mov qword [rbp + 0x20], rax
lea r8, [rcx + 3]
add r8, rdi
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x210]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rbp + 0x320], rbx
movsxd rdi, edi
add rdi, rbx
mov qword [rbp + 0x30], rdi
mov qword [rbp - 0x30], rbx
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.18001c460
mov qword [rbp - 0x20], rdi
mov qword [rbp + 0xc8], rdi
lea rax, [rsp + 0x38]
mov qword [rbp + 0xe0], rax
lea rax, [0x1800f7d30]
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0xd0], WSAStartup
lea rcx, [rbp + 0xb0]
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov rdi, rax
mov rbx, qword [rbp + 0x318]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea r12, [0x1802bccb0]
test eax, eax
jne 0x1800f723f
mov word [rbx], r14w
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7233
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7233
call fcn.1800a0c6c
lea rcx, [0x1802bccc0]
mov qword [rsp + 0x40], rcx
test rdi, rdi
je 0x1800f725f
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1800f725f
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x28]
mov rax, qword [rsp + 0x40]
cmp byte [rax], 0
je 0x1800f7895
mov rax, qword [rbp + 0x318]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.18001a640
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x78]
call fcn.1800e7430
nop
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.1800e62b0
mov rdx, rax
mov rcx, r13
call fcn.1800169f0
mov rcx, qword [rbp + 0x70]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f72d9
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f72d9
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f72f9
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f72f9
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x70]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7319
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7319
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f733a
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f733a
call fcn.1800a0c6c
nop
lea rcx, [rbp + 0xf0]
call fcn.1801746c0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800f735c
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f737d
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f737d
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f739e
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f739e
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x318]
call fcn.1800a09c8
nop
jmp 0x1800f7aae
mov ebx, 0x88080c
mov eax, 0x88080e
cmp byte [rbp + 0x348], 0
cmovne ebx, eax
test r15b, r15b
je 0x1800f73cd
bts ebx, 9
xor ecx, ecx
call fcn.1800a09c8
mov edx, 2
mov ecx, 0x800
call fcn.1800a0a08
mov qword [rbp + 0x360], rax
mov rcx, qword [r12]
mov qword [rbp + 0x1d0], rcx
test rax, rax
jne 0x1800f740d
mov qword [rbp + 8], rcx
lea rcx, [rbp + 8]
call fcn.18001b380
add rax, 2
jmp 0x1800f742f
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x58], rcx
mov r8d, 0x1000
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.18001c6f0
mov rdx, rax
shr rdx, 1
mov rcx, qword [rbp + 0x360]
lea r8, [rcx + rdx*2]
mov rcx, qword [r12]
mov qword [rbp + 0x1d8], rcx
test r8, r8
je 0x1800f746e
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x60], rcx
mov r8d, 0xffe
sub r8, rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x28]
call fcn.18001c6f0
mov rcx, r14
mov rax, qword [rbp + 0x360]
cmp word [rax + rcx*2], 0x7c
jne 0x1800f7484
mov word [rax + rcx*2], r14w
inc rcx
cmp rcx, 0x800
jb 0x1800f7471
mov dword [rbp + 0x220], r14d
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp + 0x228]
call fcn.1800a7360
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1800f74c7
mov eax, 1
lock xadd dword [rcx], eax
mov dword [rbp + 0x220], 0x88
test byte [rbp + 0x1b0], 1
je 0x1800f74e8
lea rcx, [rbp + 0xf0]
call fcn.180103ef0
jmp 0x1800f74f9
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1800f7509
call fcn.180173fd0
mov rcx, rax
test rax, rax
je 0x1800f7509
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1800f750c
mov rax, r14
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x238], rax
mov dword [rbp + 0x24c], 1
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x258], 0x8000
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x1e0]
call fcn.180016d90
mov rcx, qword [rax]
mov qword [rbp + 0x270], rcx
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x200]
call fcn.180016d90
mov rcx, qword [rax]
mov qword [rbp + 0x278], rcx
mov dword [rbp + 0x280], ebx
lea rax, [rsp + 0x38]
mov qword [rbp + 0x290], rax
cmp byte [rbp + 0x340], 0
je 0x1800f77bd
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x70], r14d
lea rax, [0x1802c1f9c]
mov qword [rbp + 0x88], rax
lea rax, [0x1802c1fc4]
mov qword [rbp - 0x48], rax
mov rax, qword [r12]
mov qword [rbp + 0x78], rax
lea r9, [rbp + 0x88]
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1800d3f20
lea rcx, [rsp + 0x60]
call fcn.1800d4300
lea rcx, [rsp + 0x60]
call fcn.1800d43a0
cmp dword [rsp + 0x70], 1
jne 0x1800f7632
lea rax, [0x1802c1fac]
mov qword [rbp + 0x48], rax
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x60]
call fcn.1800d5c50
mov r14d, 1
mov rax, qword [rax]
cmp byte [rax], 0
je 0x1800f7632
movzx ebx, r14b
jmp 0x1800f7634
xor bl, bl
test r14b, 1
je 0x1800f765c
mov rcx, qword [rbp + 0xa0]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f765c
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f765c
call fcn.1800a0c6c
test bl, bl
je 0x1800f76d6
lea rax, [0x1802c1fec]
mov qword [rbp - 8], rax
lea rcx, [0x180416eb8]
cmp dword [rsp + 0x70], 0
cmova rcx, qword [rsp + 0x60]
lea r8, [rbp - 8]
lea rdx, [rbp]
call fcn.1800ea240
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
lea rcx, [0x1802bccc0]
mov qword [rax], rcx
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f76bb
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f76bb
call fcn.1800a0c6c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f0]
call fcn.180016d90
mov rcx, qword [rax]
mov qword [rbp + 0x288], rcx
lea rcx, [rbp + 0x220]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
nop
lea rcx, [rsp + 0x60]
test eax, eax
jne 0x1800f77a9
call fcn.18000a800
mov rcx, qword [rsp + 0x60]
call fcn.1800a09c8
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f7722
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7722
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x360]
call fcn.1800a09c8
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f7750
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7750
call fcn.1800a0c6c
nop
lea rcx, [rbp + 0xf0]
call fcn.1801746c0
nop
lea rcx, [rsp + 0x38]
call fcn.18004b410
nop
mov rcx, qword [rbp + 0x318]
call fcn.1800a09c8
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f7796
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7796
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x320]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
jmp 0x1800f7abc
call fcn.18000a800
mov rcx, qword [rsp + 0x60]
call fcn.1800a09c8
jmp 0x1800f7859
lea rcx, [rbp + 0x220]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
jne 0x1800f7859
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f77f3
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f77f3
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x360]
call fcn.1800a09c8
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1800f7821
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7821
call fcn.1800a0c6c
nop
lea rcx, [rbp + 0xf0]
call fcn.1801746c0
nop
lea rcx, [rsp + 0x38]
call fcn.18004b410
nop
mov rcx, qword [rbp + 0x318]
call fcn.1800a09c8
nop
mov rcx, qword [rbp + 0x320]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
jmp 0x1800f7abc
movzx r14d, word [rbp + 0x284]
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
lea r12, [0x1802bccb0]
cmp rcx, r12
je 0x1800f7889
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7889
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x360]
call fcn.1800a09c8
test r15b, r15b
je 0x1800f79cf
test r14d, r14d
jle 0x1800f79cf
movsxd rax, r14d
mov rbx, qword [rbp + 0x318]
lea rdi, [rbx + rax*2]
cmp word [rdi - 2], 0
jne 0x1800f79cf
cmp word [rdi], 0
je 0x1800f7a47
mov qword [rbp - 0x40], rbx
nop
mov qword [rbp + 0x10], rdi
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x58]
call fcn.18001a640
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.18001a640
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.1800e7430
nop
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.1800e6340
mov rdx, rax
mov rcx, r13
call fcn.1800169f0
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7944
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7944
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7964
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7964
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7985
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7985
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f79a4
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f79a4
call fcn.1800a0c6c
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x1800f79b0
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x1800f78d0
jmp 0x1800f7a47
mov rbx, qword [rbp + 0x318]
cmp word [rbx], 0
je 0x1800f7a47
mov qword [rbp - 0x18], rbx
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.18001a640
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.1800e7430
lea rdx, [rbp - 0x68]
mov rcx, r13
call fcn.1800169f0
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7a27
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7a27
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7a47
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7a47
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7a68
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7a68
call fcn.1800a0c6c
nop
lea rcx, [rbp + 0xf0]
call fcn.1801746c0
nop
lea rcx, [rsp + 0x38]
call fcn.18004b410
nop
mov rcx, qword [rbp + 0x318]
call fcn.1800a09c8
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7aae
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800f7aae
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x320]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800f7acf
lock xadd dword [rcx], esi
lea eax, [rsi - 1]
cmp eax, 0xffffffff
jne 0x1800f7acf
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x410]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret