Function at 0x14003a430
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm6
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x128], rax
movaps xmm6, xmmword [0x140270080]
movaps xmmword [rsp + 0x100], xmm6
xor eax, eax
mov byte [rsp + 0x100], al
mov byte [rsp + 0x108], al
lea rdx, [rcx + 0x18]
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xe0]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
call fcn.14003c050
cmp byte [rdi + 0x80], 1
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rsi
je 0x14003b349
cmp byte [rdi + 0x63], 1
jne 0x14003a6db
mov rdx, qword [rsi]
lea r14, [rsp + 0x80]
mov rcx, r14
mov r8d, 2
call fcn.14003c5f0
mov rsi, qword [r14]
mov rbp, qword [r14 + 8]
cmp rsi, rbp
je 0x14003a669
xorps xmm7, xmm7
lea r15, [rsp + 0x110]
mov rbx, qword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x14003a61f
lea rcx, [rsp + 0xe0]
mov rdx, r15
call fcn.14003be90
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xe8], rax
test rcx, rcx
je 0x14003a616
mov rax, qword [rsp + 0x118]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bb6c
mov qword [rsp + 0x118], rcx
call fcn.14018fb90
jmp 0x14003a616
mov r12, qword [rsi]
mov r13, qword [rsi + 8]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
sub r13, r12
je 0x14003a5bd
js 0x14003bb28
mov rcx, r13
call fcn.14018fb98
mov qword [rsp + 0x110], rax
lea r14, [rax + r13]
mov qword [rsp + 0x120], r14
mov rcx, rax
mov rdx, r12
mov r8, r13
call fcn.1401cdcb0
mov qword [rsp + 0x118], r14
mov rax, qword [rsp + 0xe8]
cmp rax, qword [rsp + 0xf0]
jae 0x14003a510
test rax, rax
je 0x14003bb4d
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xe8], rax
add rsi, 0x20
cmp rsi, rbp
je 0x14003a652
mov eax, dword [rsi + 0x18]
cmp eax, 0xbfffffff
ja 0x14003a616
and eax, 0x20
jne 0x14003a616
mov r12, qword [rdi + 0x68]
mov r13, qword [rdi + 0x70]
cmp r12, r13
je 0x14003a565
mov rdx, qword [rsi]
mov rcx, qword [r12]
call rbx
test eax, eax
jne 0x14003a616
add r12, 0x18
jmp 0x14003a636
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
movabs r12, 0xaaaaaaaaaaaaaaaa
test rsi, rsi
je 0x14003a6d6
mov rbx, qword [rsp + 0x88]
mov rcx, rsi
cmp rbx, rsi
je 0x14003a6c9
add rbx, 0xffffffffffffffe0
jmp 0x14003a699
mov qword [rbx + 8], rcx
call fcn.14018fb90
lea rax, [rbx - 0x20]
cmp rbx, rsi
mov rbx, rax
je 0x14003a6c1
test rbx, rbx
je 0x14003bb38
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a68d
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14003a684
jmp 0x14003bb47
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rsi
call fcn.14018fb90
mov rsi, qword [rsp + 0x48]
lea r14, [rsp + 0xc0]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
mov rcx, r14
mov rdx, rdi
call fcn.14003c050
cmp byte [rdi + 0x82], 1
jne 0x14003a806
lea r12, [rsp + 0x80]
mov rcx, rsi
mov rdx, r12
call fcn.14002d130
mov r15, qword [r12]
mov rsi, qword [r12 + 8]
mov r12, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
sub r12, r15
je 0x14003a776
js 0x14003bb28
mov rcx, r12
call fcn.14018fb98
mov qword [rsp + 0x110], rax
lea rbx, [rax + r12]
mov qword [rsp + 0x120], rbx
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1401cdcb0
mov qword [rsp + 0x118], rbx
test r15, r15
je 0x14003a797
dec rsi
cmp r12, rsi
ja 0x14003bc88
mov qword [rsp + 0x88], r15
mov rcx, r15
call fcn.14018fb90
mov rax, qword [rsp + 0xc8]
cmp rax, qword [rsp + 0xd0]
jb 0x14003bd15
lea r15, [rsp + 0xc0]
lea r12, [rsp + 0x110]
mov rcx, r15
mov rdx, r12
call fcn.14003be90
mov rcx, qword [r12]
mov qword [r15 + 8], rax
test rcx, rcx
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
je 0x14003a806
mov rax, qword [rsp + 0x118]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bc8b
mov qword [rsp + 0x118], rcx
call fcn.14018fb90
cmp byte [rdi + 0x83], 1
jne 0x14003a9ec
mov rdx, qword [rsi]
lea r15, [rsp + 0x80]
mov rcx, r15
mov r8d, 2
call fcn.14003c5f0
mov rsi, qword [r15]
mov rbx, qword [r15 + 8]
cmp rsi, rbx
je 0x14003a975
xorps xmm7, xmm7
lea r15, [rsp + 0xc0]
lea r12, [rsp + 0x110]
jmp 0x14003a8a1
test rax, rax
je 0x14003bb41
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xc8], rax
add rsi, 0x20
cmp rsi, rbx
je 0x14003a965
test byte [rsi + 0x18], 0x20
jne 0x14003a894
mov r13, qword [rsi]
mov rbp, qword [rsi + 8]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
sub rbp, r13
je 0x14003a8ff
js 0x14003bb28
mov rcx, rbp
call fcn.14018fb98
mov qword [rsp + 0x110], rax
lea r14, [rax + rbp]
mov qword [rsp + 0x120], r14
mov rcx, rax
mov rdx, r13
mov r8, rbp
call fcn.1401cdcb0
mov qword [rsp + 0x118], r14
mov rax, qword [rsp + 0xc8]
cmp rax, qword [rsp + 0xd0]
jb 0x14003a851
mov rcx, r15
mov rdx, r12
call fcn.14003be90
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14003a894
mov rax, qword [rsp + 0x118]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bb6f
mov qword [rsp + 0x118], rcx
call fcn.14018fb90
jmp 0x14003a894
mov rsi, qword [rsp + 0x80]
lea r14, [rsp + 0xc0]
test rsi, rsi
mov r15, qword [rsp + 0x40]
je 0x14003a9e7
mov rbx, qword [rsp + 0x88]
mov rcx, rsi
cmp rbx, rsi
je 0x14003a9da
add rbx, 0xffffffffffffffe0
jmp 0x14003a9aa
mov qword [rbx + 8], rcx
call fcn.14018fb90
lea rax, [rbx - 0x20]
cmp rbx, rsi
mov rbx, rax
je 0x14003a9d2
test rbx, rbx
je 0x14003bb3b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a99e
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14003a995
jmp 0x14003bb4a
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rsi
call fcn.14018fb90
mov rsi, qword [rsp + 0x48]
cmp byte [rdi + 0x81], 1
je 0x14003ba80
mov rax, qword [rsp + 0xe0]
cmp rax, qword [rsp + 0xe8]
jne 0x14003aa21
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0xc8]
je 0x14003b782
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 0
movzx r8d, byte [rdi + 0x61]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0xf01ff
lea r14, [rsp + 0x110]
lea r9, [rsp + 0xe0]
mov rcx, rsi
mov rdx, r14
call fcn.14003c9c0
mov al, byte [rsp + 0x108]
cmp al, byte [r14 + 8]
je 0x14003b327
lea rbx, [rsp + 0x100]
test al, al
jne 0x14003bc77
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.140036aa0
mov byte [rbx + 8], 1
cmp byte [rsp + 0x118], 1
jne 0x14003aab5
lea rcx, [rsp + 0x110]
call fcn.14002d380
mov rdx, qword [rsp + 0x80]
test rdx, rdx
jne 0x14003bc1b
mov al, byte [rsp + 0x108]
test al, al
je 0x14003bbc4
cmp byte [rdi + 0x61], 1
jne 0x14003aafd
cmp byte [rdi + 0x62], 1
jne 0x14003aafd
lea rcx, [rsp + 0x100]
call fcn.14003c7f0
test al, al
je 0x14003bbc4
mov al, byte [rsp + 0x108]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
movaps xmmword [rsp + 0xb0], xmm6
test al, 1
je 0x14003bb75
lea rcx, [rsp + 0x100]
lea rbx, [rsp + 0xb0]
mov rdx, rbx
call fcn.14003c390
cmp byte [rbx + 8], 0
je 0x14003bb5e
movabs rbp, 0x666666666666666
movabs r14, 0x333333333333333
cmp byte [rdi + 0x60], 1
jne 0x14003b811
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
cmp byte [rsp + 0x108], 0
je 0x14003bb91
lea rcx, [rsp + 0x100]
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.14003c480
cmp byte [rbx + 0x18], 1
jne 0x14003bc8e
mov rbx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
cmp rbx, rax
jb 0x14003bbe8
mov rcx, qword [rsp + 0x110]
sub rbx, rcx
sar rbx, 3
movabs rdx, 0xcccccccccccccccd
imul rbx, rdx
lea rsi, [rbx + 1]
cmp rsi, rbp
ja 0x14003bb94
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, rsi
cmova rsi, rcx
cmp rax, r14
cmovae rsi, rbp
test rsi, rsi
je 0x14003bb97
cmp rsi, rbp
ja 0x14003bb9f
lea rax, [rsi*8]
lea rcx, [rax + rax*4]
call fcn.14018fb98
mov r14, rax
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rbx, r14
je 0x14003bba2
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
sub r12, r15
je 0x14003ac89
js 0x14003bb53
mov rcx, r12
call fcn.14018fb98
mov qword [rbx], rax
lea r13, [rax + r12]
mov qword [rbx + 0x10], r13
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1401cdcb0
mov qword [rbx + 8], r13
mov qword [rbx + 0x18], 3
mov dword [rbx + 0x20], 0
mov r15, qword [rsp + 0x110]
mov r13, qword [rsp + 0x118]
mov rax, r15
sub rax, r13
lea r12, [rbx + rax]
je 0x14003ad4e
xorps xmm0, xmm0
xor eax, eax
mov rcx, r15
mov rdx, r12
test rdx, rdx
je 0x14003bc38
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov r8, qword [rcx]
mov qword [rdx], r8
mov r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov r8, qword [rcx + 0x10]
mov qword [rdx + 0x10], r8
mov qword [rcx + 0x10], rax
movups xmmword [rcx], xmm0
mov r8d, dword [rcx + 0x20]
mov dword [rdx + 0x20], r8d
mov r8, qword [rcx + 0x18]
mov qword [rdx + 0x18], r8
add rcx, 0x28
add rdx, 0x28
cmp rcx, r13
jne 0x14003acc3
test r15, r15
je 0x14003bc3b
mov rcx, qword [r15]
test rcx, rcx
je 0x14003ad3d
mov rax, qword [r15 + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bc3e
mov qword [r15 + 8], rcx
call fcn.14018fb90
add r15, 0x28
cmp r15, r13
jne 0x14003ad0d
mov r15, qword [rsp + 0x110]
lea rax, [rsi + rsi*4]
lea rax, [r14 + rax*8]
add rbx, 0x28
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rax
test r15, r15
jne 0x14003bbd2
mov qword [rsp + 0x118], rbx
cmp byte [rsp + 0x98], 1
jne 0x14003adc1
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14003adc1
mov rax, qword [rsp + 0x88]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bbe5
mov qword [rsp + 0x88], rcx
call fcn.14018fb90
mov r12, qword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
cmp r12, rax
jne 0x14003b452
cmp byte [rsp + 0x108], 0
je 0x14003bb78
lea rcx, [rsp + 0x100]
lea r14, [rsp + 0x80]
mov rdx, r14
call fcn.14002d130
mov rbx, qword [r14]
mov rsi, qword [r14 + 8]
mov r12, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
sub r12, rbx
je 0x14003bbb9
js 0x14003bb7b
mov rcx, r12
call fcn.14018fb98
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + r12]
mov qword [rsp + 0x70], r15
mov rcx, rax
mov rdx, rbx
mov r8, r12
call fcn.1401cdcb0
mov qword [rsp + 0x68], r15
test rbx, rbx
je 0x14003ae6f
dec rsi
cmp r12, rsi
ja 0x14003bbdf
mov qword [rsp + 0x88], rbx
mov rcx, rbx
call fcn.14018fb90
mov rbx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
cmp rbx, rax
jb 0x14003b71d
mov rcx, qword [rsp + 0x110]
sub rbx, rcx
sar rbx, 3
movabs rdx, 0xcccccccccccccccd
imul rbx, rdx
lea rsi, [rbx + 1]
cmp rsi, rbp
ja 0x14003bba5
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, rsi
cmova rsi, rcx
movabs rcx, 0x333333333333333
cmp rax, rcx
cmovae rsi, rbp
test rsi, rsi
je 0x14003bba8
cmp rsi, rbp
ja 0x14003bbb0
lea rax, [rsi*8]
lea rcx, [rax + rax*4]
call fcn.14018fb98
mov r12, rax
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rbx, r12
je 0x14003bbb3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
sub r15, r14
je 0x14003af4e
js 0x14003bb53
mov rcx, r15
call fcn.14018fb98
mov qword [rbx], rax
lea r13, [rax + r15]
mov qword [rbx + 0x10], r13
mov rcx, rax
mov rdx, r14
mov r8, r15
call fcn.1401cdcb0
mov qword [rbx + 8], r13
movabs rax, 0x1000000000000000
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], 0
mov r14, qword [rsp + 0x110]
mov r13, qword [rsp + 0x118]
mov rax, r14
sub rax, r13
lea r15, [rbx + rax]
je 0x14003b019
xorps xmm0, xmm0
xor eax, eax
mov rcx, r14
mov rdx, r15
test rdx, rdx
je 0x14003bc41
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov r8, qword [rcx]
mov qword [rdx], r8
mov r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov r8, qword [rcx + 0x10]
mov qword [rdx + 0x10], r8
mov qword [rcx + 0x10], rax
movups xmmword [rcx], xmm0
mov r8d, dword [rcx + 0x20]
mov dword [rdx + 0x20], r8d
mov r8, qword [rcx + 0x18]
mov qword [rdx + 0x18], r8
add rcx, 0x28
add rdx, 0x28
cmp rcx, r13
jne 0x14003af8e
test r14, r14
je 0x14003bc44
mov rcx, qword [r14]
test rcx, rcx
je 0x14003b008
mov rax, qword [r14 + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bc47
mov qword [r14 + 8], rcx
call fcn.14018fb90
add r14, 0x28
cmp r14, r13
jne 0x14003afd8
mov r14, qword [rsp + 0x110]
lea rax, [rsi + rsi*4]
lea rax, [r12 + rax*8]
add rbx, 0x28
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rax
test r14, r14
je 0x14003b04a
mov rcx, r14
call fcn.14018fb90
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x118], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003b07d
mov rax, qword [rsp + 0x68]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bbe2
call fcn.14018fb90
cmp byte [rsp + 0xb8], 0
je 0x14003bb85
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x110]
call fcn.140042940
test al, al
je 0x14003bb5e
cmp byte [rsp + 0x108], 0
je 0x14003bb88
cmp byte [rsp + 0xb8], 0
je 0x14003bb8b
mov rax, qword [rsp + 0xb0]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov rcx, qword [rsp + 0x100]
mov edx, 6
mov r9d, 8
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x14003bb5e
cmp byte [rdi + 0x5c], 1
jne 0x14003b124
cmp byte [rsp + 0x108], 0
je 0x14003bbb6
mov edx, dword [rdi + 0x58]
lea rcx, [rsp + 0x100]
call fcn.14003c230
test al, al
je 0x14003bb5e
xor eax, eax
mov byte [r15], al
mov byte [r15 + 8], al
cmp byte [rsp + 0x108], 1
jne 0x14003b155
test r15, r15
je 0x14003bb8e
lea rdx, [rsp + 0x100]
mov rcx, r15
call fcn.140036aa0
mov byte [r15 + 8], 1
cmp byte [rsp + 0xb8], 1
jne 0x14003b17d
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], 0
test rcx, rcx
je 0x14003b17d
call fcn.14018fbd4
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x14003b1ef
mov rdi, qword [rsp + 0x118]
mov rcx, rsi
cmp rdi, rsi
je 0x14003b1e2
add rdi, 0xffffffffffffffd8
test rdi, rdi
je 0x14003bb5b
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003b1ce
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bb72
mov qword [rdi + 8], rcx
call fcn.14018fb90
lea rax, [rdi - 0x28]
cmp rdi, rsi
mov rdi, rax
jne 0x14003b19e
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x118], rsi
call fcn.14018fb90
mov rsi, qword [rsp + 0xc0]
test rsi, rsi
je 0x14003b264
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x14003b257
add rdi, 0xffffffffffffffe8
jmp 0x14003b227
mov qword [rdi + 8], rcx
call fcn.14018fb90
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14003b24f
test rdi, rdi
je 0x14003bb35
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003b21b
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14003b212
jmp 0x14003bb44
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.14018fb90
mov rsi, qword [rsp + 0xe0]
test rsi, rsi
je 0x14003b2d9
mov rdi, qword [rsp + 0xe8]
mov rcx, rsi
cmp rdi, rsi
je 0x14003b2cc
add rdi, 0xffffffffffffffe8
jmp 0x14003b29c
mov qword [rdi + 8], rcx
call fcn.14018fb90
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14003b2c4
test rdi, rdi
je 0x14003bb3e
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003b290
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14003b287
jmp 0x14003bb50
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rsi
call fcn.14018fb90
cmp byte [rsp + 0x108], 1
jne 0x14003b2f0
lea rcx, [rsp + 0x100]
call fcn.14002d380
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140192360
mov rax, r15
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test al, al
je 0x14003aa9e
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x110]
call fcn.1400438c0
jmp 0x14003aa9e
lea r15, [rsp + 0x80]
mov rcx, rsi
mov rdx, r15
call fcn.14002d130
mov r14, qword [r15]
mov rsi, qword [r15 + 8]
mov r15, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
sub r15, r14
je 0x14003b3ba
js 0x14003bb28
mov rcx, r15
call fcn.14018fb98
mov qword [rsp + 0x110], rax
lea rbx, [rax + r15]
mov qword [rsp + 0x120], rbx
mov rcx, rax
mov rdx, r14
mov r8, r15
call fcn.1401cdcb0
mov qword [rsp + 0x118], rbx
test r14, r14
je 0x14003b3db
dec rsi
cmp r15, rsi
ja 0x14003bcfc
mov qword [rsp + 0x88], r14
mov rcx, r14
call fcn.14018fb90
mov rax, qword [rsp + 0xe8]
cmp rax, qword [rsp + 0xf0]
jb 0x14003bd77
lea r14, [rsp + 0xe0]
lea r15, [rsp + 0x110]
mov rcx, r14
mov rdx, r15
call fcn.14003be90
mov rcx, qword [r15]
mov qword [r14 + 8], rax
test rcx, rcx
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
je 0x14003a4c6
mov rax, qword [rsp + 0x118]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bcff
mov qword [rsp + 0x118], rcx
call fcn.14018fb90
jmp 0x14003a4c6
xorps xmm6, xmm6
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdi
mov ebp, dword [r12 + 0x18]
mov edi, dword [r12 + 0x1c]
mov r13d, dword [r12 + 0x20]
mov r14, qword [r12]
mov r15, qword [r12 + 8]
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
sub r15, r14
je 0x14003bcf3
js 0x14003bc4a
mov rcx, r15
call fcn.14018fb98
mov rbx, rax
mov qword [rsp + 0x80], rax
lea rsi, [rax + r15]
mov qword [rsp + 0x90], rsi
mov rcx, rax
mov rdx, r14
mov r8, r15
call fcn.1401cdcb0
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0xa0], r13d
mov r14, qword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
cmp r14, rax
jb 0x14003bdcf
mov rcx, qword [rsp + 0x110]
sub r14, rcx
sar r14, 3
movabs rdx, 0xcccccccccccccccd
imul r14, rdx
lea rsi, [r14 + 1]
movabs rbp, 0x666666666666666
cmp rsi, rbp
mov rdi, qword [rsp + 0x50]
ja 0x14003bc57
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, rsi
cmova rsi, rcx
movabs rcx, 0x333333333333333
cmp rax, rcx
cmovae rsi, rbp
test rsi, rsi
je 0x14003bc5a
cmp rsi, rbp
ja 0x14003bc62
lea rax, [rsi*8]
lea rcx, [rax + rax*4]
call fcn.14018fb98
mov r9, rax
lea r15, [r14 + r14*4]
shl r15, 3
add r15, r9
je 0x14003bc65
movups xmmword [r15], xmm6
xor ecx, ecx
mov qword [r15 + 0x10], rcx
mov rax, qword [rsp + 0x80]
mov qword [r15], rax
mov rax, qword [rsp + 0x88]
mov qword [r15 + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [r15 + 0x10], rax
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm6
lea rcx, [rsp + 0x98]
mov eax, dword [rcx + 8]
mov dword [r15 + 0x20], eax
mov rax, qword [rcx]
mov qword [r15 + 0x18], rax
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov rax, r14
sub rax, rbx
lea r13, [r15 + rax]
je 0x14003b6a4
mov rax, r14
mov rcx, r13
test rcx, rcx
je 0x14003bc6b
movups xmmword [rcx], xmm6
xor r8d, r8d
mov qword [rcx + 0x10], r8
mov rdx, qword [rax]
mov qword [rcx], rdx
mov rdx, qword [rax + 8]
mov qword [rcx + 8], rdx
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
mov qword [rax + 0x10], r8
movups xmmword [rax], xmm6
mov edx, dword [rax + 0x20]
mov dword [rcx + 0x20], edx
mov rdx, qword [rax + 0x18]
mov qword [rcx + 0x18], rdx
add rax, 0x28
add rcx, 0x28
cmp rax, rbx
jne 0x14003b60e
test r14, r14
je 0x14003bc6e
mov rcx, qword [r14]
test rcx, rcx
je 0x14003b693
mov qword [rsp + 0x58], r9
mov rax, qword [r14 + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bc71
mov qword [r14 + 8], rcx
call fcn.14018fb90
mov r9, qword [rsp + 0x58]
add r14, 0x28
cmp r14, rbx
jne 0x14003b659
mov r14, qword [rsp + 0x110]
lea rax, [rsi + rsi*4]
lea rax, [r9 + rax*8]
add r15, 0x28
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], rax
test r14, r14
je 0x14003b6d5
mov rcx, r14
call fcn.14018fb90
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x118], r15
test rcx, rcx
je 0x14003b709
mov rax, qword [rsp + 0x88]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003bc68
call fcn.14018fb90
add r12, 0x28
cmp r12, qword [rsp + 0x48]
je 0x14003add2
jmp 0x14003b45f
test rbx, rbx
je 0x14003bd12
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
sub r15, r14
je 0x14003b764
js 0x14003bb53
mov rcx, r15
call fcn.14018fb98
mov qword [rbx], rax
lea rsi, [rax + r15]
mov qword [rbx + 0x10], rsi
mov rcx, rax
mov rdx, r14
mov r8, r15
call fcn.1401cdcb0
mov qword [rbx + 8], rsi
movabs rax, 0x1000000000000000
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], 0
add rbx, 0x28
jmp 0x14003b04a
cmp byte [rdi + 0x61], 1
je 0x14003aa21
lea r14, [rsp + 0x80]
mov rcx, rsi
mov rdx, r14
mov r8d, 0xf01ff
call fcn.14003c8e0
mov al, byte [rsp + 0x108]
cmp al, byte [r14 + 8]
je 0x14003b7f6
lea rbx, [rsp + 0x100]
test al, al
jne 0x14003be68
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140036aa0
mov byte [rbx + 8], 1
cmp byte [rsp + 0x88], 1
jne 0x14003aac6
lea rcx, [rsp + 0x80]
call fcn.14002d380
jmp 0x14003aac6
test al, al
je 0x14003b7d6
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x80]
call fcn.1400438c0
jmp 0x14003b7d6
mov rbx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
cmp rbx, rax
jb 0x14003be30
mov rcx, qword [rsp + 0x110]
sub rbx, rcx
sar rbx, 3
movabs rdx, 0xcccccccccccccccd
imul rbx, rdx
lea rsi, [rbx + 1]
cmp rsi, rbp
ja 0x14003bd02
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, rsi
cmova rsi, rcx
cmp rax, r14
cmovae rsi, rbp
test rsi, rsi
je 0x14003bd05
cmp rsi, rbp
ja 0x14003bd0c
lea rax, [rsi*8]
lea rcx, [rax + rax*4]
call fcn.14018fb98
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov qword [rsp + 0x48], rax
add rbx, rax
je 0x14003bd0f
lea r12, [rsp + 0x80]
mov rcx, r12
mov edx, 0xa
call fcn.1400469c0
mov r15, qword [r12]
mov r13, qword [r12 + 8]
mov r12, r13
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
sub r12, r15
je 0x14003b90f
js 0x14003bb53
mov r14, rbp
mov rcx, r12
call fcn.14018fb98
mov qword [rbx], rax
lea rbp, [rax + r12]
mov qword [rbx + 0x10], rbp
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1401cdcb0
mov qword [rbx + 8], rbp
mov rbp, r14
movabs rax, 0x1000000000000000
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], 0
test r15, r15
je 0x14003b93d
dec r13
cmp r12, r13
ja 0x14003bdcc
mov rcx, r15
call fcn.14018fb90
mov r15, qword [rsp + 0x110]
mov r13, qword [rsp + 0x118]
mov rax, r15
sub rax, r13
lea r12, [rbx + rax]
je 0x14003b9f3
xorps xmm0, xmm0
xor eax, eax
mov rcx, r15
mov rdx, r12
test rdx, rdx
je 0x14003be5f
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov r8, qword [rcx]
mov qword [rdx], r8
mov r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov r8, qword [rcx + 0x10]
mov qword [rdx + 0x10], r8
mov qword [rcx + 0x10], rax
movups xmmword [rcx], xmm0
mov r8d, dword [rcx + 0x20]
mov dword [rdx + 0x20], r8d
mov r8, qword [rcx + 0x18]
mov qword [rdx + 0x18], r8
add rcx, 0x28
add rdx, 0x28
cmp rcx, r13
jne 0x14003b968
test r15, r15
je 0x14003be62
mov rcx, qword [r15]
test rcx, rcx
je 0x14003b9e2
mov rax, qword [r15 + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003be65
mov qword [r15 + 8], rcx
call fcn.14018fb90
add r15, 0x28
cmp r15, r13
jne 0x14003b9b2
mov r15, qword [rsp + 0x110]
lea rax, [rsi + rsi*4]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*8]
add rbx, 0x28
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rax
test r15, r15
jne 0x14003bd6a
mov qword [rsp + 0x118], rbx
jmp 0x14003adc1
test rax, rax
je 0x14003be79
xorps xmm0, xmm0
movups xmmword [rax], xmm0
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov rdx, qword [rsp + 0x80]
mov qword [rax], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x90]
mov qword [rax + 0x10], rdx
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm0
add rax, 0x18
jmp 0x14003bacf
lea r15, [rsp + 0x80]
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov rcx, rsi
mov rdx, r15
call fcn.14003c480
mov al, byte [r15 + 0x18]
cmp al, 1
jne 0x14003bade
mov rax, qword [rsp + 0xc8]
cmp rax, qword [rsp + 0xd0]
jb 0x14003ba32
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x80]
call fcn.14003be90
mov qword [rsp + 0xc8], rax
mov al, byte [rsp + 0x98]
test al, 1
mov r15, qword [rsp + 0x40]
je 0x14003a9f9
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14003a9f9
mov rax, qword [rsp + 0x88]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003be5c
mov qword [rsp + 0x88], rcx
call fcn.14018fb90
jmp 0x14003a9f9
lea rcx, [rsp + 0x110]
call fcn.1401cf0c0
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov rcx, rbx
call fcn.1401cf0c0
int3
xor eax, eax
mov byte [r15], al
mov byte [r15 + 8], al
jmp 0x14003b155
int3
int3
int3
int3
int3
lea rcx, [rsp + 0x60]
call fcn.1401cf0c0
int3
int3
int3
int3
int3
int3
xor r14d, r14d
jmp 0x14003ac2a
int3
int3
int3
xor r12d, r12d
jmp 0x14003aeff
int3
int3
int3
xor r14d, r14d
xor r15d, r15d
jmp 0x14003ae4e
xor eax, eax
mov byte [r15], al
mov byte [r15 + 8], al
jmp 0x14003b1ef
mov rcx, r15
call fcn.14018fb90
jmp 0x14003ad7b
int3
int3
int3
test rbx, rbx
je 0x14003be7f
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x80]
mov rcx, rbx
mov r8d, 3
xor r9d, r9d
call fcn.14006d6c0
add rbx, 0x28
jmp 0x14003ad7b
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.140183720
mov rcx, qword [rbx]
call fcn.14018fb90
jmp 0x14003aac6
int3
int3
int3
int3
int3
int3
lea rcx, [rsp + 0x80]
call fcn.1401cf0c0
int3
xor r9d, r9d
jmp 0x14003b584
int3
int3
int3
int3
int3
int3
int3
mov rcx, rbx
call fcn.14002d380
mov byte [rbx + 8], 0
jmp 0x14003aa9e
int3
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x490
je 0x14003ad83
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov byte [rcx], al
mov byte [rcx + 8], al
cmp byte [rsp + 0x98], 1
jne 0x14003bce9
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14003bce9
mov rax, qword [rsp + 0x88]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003be7c
mov qword [rsp + 0x88], rcx
call fcn.14018fb90
mov r15, qword [rsp + 0x40]
jmp 0x14003b155
xor esi, esi
xor ebx, ebx
jmp 0x14003b4cf
int3
int3
int3
xor eax, eax
jmp 0x14003b894
int3
int3
int3
test rax, rax
je 0x14003be82
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xc8], rax
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x14003a806
mov rcx, r15
call fcn.14018fb90
jmp 0x14003ba25
test rax, rax
je 0x14003be85
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xe8], rax
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x14003a4c6
int3
test r14, r14
je 0x14003bc74
mov qword [r14], rbx
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x98]
mov eax, dword [rcx + 8]
mov dword [r14 + 0x20], eax
mov rax, qword [rcx]
mov qword [r14 + 0x18], rax
add r14, 0x28
mov qword [rsp + 0x118], r14
movabs rbp, 0x666666666666666
mov rdi, qword [rsp + 0x50]
jmp 0x14003b709
test rbx, rbx
je 0x14003be88
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
mov r9d, 0x10000000
call fcn.14006d750
add rbx, 0x28
jmp 0x14003ba25
int3
int3
int3
int3
mov rcx, rbx
call fcn.14002d380
mov byte [rbx + 8], 0
jmp 0x14003b7d6
int3
int3
int3
int3
int3
int3