Function at 0x18003dc70
Capabilities:
Check for software breakpoints
Get session user name
Get user security identifier

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rbx
push r13
push r14
lea rbp, [r11 - 0x238]
sub rsp, 0x318
lea eax, [r8 + 0x10]
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], 0xf
mov rbx, r9
mov byte [rsp + 0x68], 0
mov r13d, r8d
mov dword [rbp - 0x6c], eax
mov r14, rdx
mov r9, rcx
cmp r8d, eax
jae 0x18003e3b3
mov qword [r11 - 0x28], rsi
mov rsi, qword [rbp - 0x58]
mov qword [r11 - 0x30], rdi
mov rdi, qword [rbp - 0x58]
mov qword [r11 - 0x38], r12
mov qword [r11 - 0x40], r15
mov r15, qword [rsp + 0x40]
lea eax, [r13 - 0x27]
lea rdx, [0x180000000]
cmp eax, 0x25
ja case.0x18003dd08.54
movzx eax, byte [rdx + rax + 0x3e40c]
mov ecx, dword [rdx + rax*4 + 0x3e3cc]
add rcx, rdx
jmp rcx
mov rax, qword [r9]
sub qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x60], rax
jmp case.0x18003dd08.54
mov rax, qword [r9]
mov rcx, rax
and ecx, 7
jbe case.0x18003dd08.54
sub rax, rcx
add rax, 8
mov qword [r9], rax
jmp case.0x18003dd08.54
cmp qword [r9], 0x3b9ac9e8
mov rax, qword [r14]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x50], rcx
jbe case.0x18003dd08.54
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 1
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 0x61]
call fcn.18005f350
jmp case.0x18003dd08.54
mov rcx, qword [r14]
cmp dword [rcx + 0x24], 0xca
jne 0x18003ddc3
xor edx, edx
mov qword [rsp + 0x48], rcx
lea r8, [rsp + 0x48]
lea ecx, [rdx + 0x7d]
call fcn.18002ff20
mov rax, qword [r14]
cmp dword [rax + 0x58], 0
jne 0x18003e344
mov dword [rax + 0x24], reloc.WINSPOOL.DRV_Ordinal_203
mov rcx, qword [r14]
mov eax, dword [rcx + 0x24]
cmp eax, 0xcb
jne 0x18003de97
mov rax, qword [rcx + 0x278]
cmp dword [rax + 0x20], 0
je 0x18003de89
mov r9d, dword [rsp + 0x58]
nop word [rax + rax]
mov ebx, 0x1c
cmp ebx, 0x1c
je 0x18003de3b
cmp ebx, 0x214
jne 0x18003de69
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18003de69
lea eax, [r9 - 1]
test eax, 0xfffffffd
jne 0x18003de69
inc dword [rcx + 8]
mov rax, qword [r14]
mov rdx, qword [rax + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x18003de69
mov ecx, dword [rax + 0x1dc]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x18003de69
mov rcx, qword [r14]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18003de4c
call qword [rax]
mov rcx, qword [r14]
mov rax, qword [rcx + 0x278]
call qword [rax]
mov dword [rsp + 0x58], eax
test eax, eax
je 0x18003e355
cmp eax, 2
je 0x18003de80
mov r9d, eax
add ebx, 0x1f8
cmp ebx, 0x3f0
jbe 0x18003ddf5
jmp 0x18003ddf0
mov rcx, qword [r14]
mov r13d, 0x27
mov eax, dword [rcx + 0xac]
mov dword [rcx + 0xb4], eax
jmp 0x18003debc
cmp eax, 0xcc
je 0x18003debc
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x14
mov rax, qword [r14]
mov rcx, qword [rax]
mov eax, dword [rax + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [r14]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov r9d, 0xbb
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180047350
mov dword [rsp + 0x60], eax
jmp case.0x18003dd08.54
cmp byte [rbp + 0x250], 0
je 0x18003df28
lea rax, [rbp - 0x48]
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x78]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp + 0xe0]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x18003df35
mov rax, qword [r14]
mov r8, qword [r14 + 0x10]
lea rdx, [rax + r15]
sub r8, r15
lea rcx, [r14 + 0x20]
call fcn.180067280
jmp case.0x18003dd08.54
cmp qword [rbp - 0x80], 0x10
lea rbx, [rsp + 0x68]
mov dword [rbp - 0x78], reloc.oledlg.dll_OleUIChangeSourceA
mov r12, r14
cmovae rbx, qword [rsp + 0x68]
cmp qword [r14 + 0x18], 0x10
jb 0x18003df72
mov r12, qword [r14]
mov rax, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
ja 0x18003dff8
test rcx, rcx
jne 0x18003df92
xor r15d, r15d
mov qword [rsp + 0x40], r15
jmp case.0x18003dd08.54
sub rax, qword [rsp + 0x78]
mov rcx, r12
movsx r15d, byte [rbx]
mov edx, r15d
lea r14, [rax + r12]
lea r8, [r14 + 1]
sub r8, r12
call fcn.180074640
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18003dff8
nop dword [rax + rax]
mov r8, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, rax
call fcn.180074420
test eax, eax
je 0x18003e009
mov rax, qword [rsp + 0x40]
lea r8, [r14 + 1]
inc rax
mov edx, r15d
sub r8, rax
mov rcx, rax
call fcn.180074640
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18003dfc0
mov r15, 0xffffffffffffffff
mov qword [rsp + 0x40], r15
jmp case.0x18003dd08.54
mov r15, qword [rsp + 0x40]
sub r15, r12
mov qword [rsp + 0x40], r15
jmp case.0x18003dd08.54
mov rax, qword [r9]
add qword [rdi + 8], rax
jmp case.0x18003dd08.54
mov ecx, 0x20
mov byte [rbp + 0x250], 1
call fcn.1800728a0
lea rdx, [0x1800bbbb0]
mov rcx, rax
call fcn.180067470
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
jmp case.0x18003dd08.54
cmp r15, 0xffffffffffffffff
je case.0x18003dd08.40
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
add r15, qword [rsp + 0x78]
mov qword [rsp + 0x40], r15
test eax, eax
jne case.0x18003dd08.54
mov byte [rbp + 0x250], al
jmp case.0x18003dd08.54
mov dword [rbp - 0x74], 0x104
jmp case.0x18003dd08.54
mov eax, dword [rbx]
test eax, eax
js 0x18003e0a9
cmp eax, 2
jl 0x18003e0d2
mov rax, qword [r14]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0xe
mov rax, qword [r14]
mov rcx, qword [rax]
mov eax, dword [rbx]
mov dword [rcx + 0x2c], eax
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax]
mov eax, dword [rbx]
mov r9, qword [rbp + 0x240]
mov r12, qword [rbp - 0x50]
xor r8d, r8d
cdqe
mov qword [rbp - 0x60], r8
mov rdi, qword [r12 + rax*8 + 0x60]
test rdi, rdi
je case.0x18003dd08.54
mov rax, qword [r9]
cmp qword [rdi + 0x10], rax
jae 0x18003e112
mov r8, rdi
mov qword [rbp - 0x60], rdi
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18003e0f0
jmp case.0x18003dd08.54
mov r8, qword [rbp - 0x60]
mov r12, qword [rbp - 0x50]
test rdi, rdi
jne 0x18003e22a
mov edx, 0x96
lea r15, [0x180000000]
mov eax, edx
sub eax, 0x96
je 0x18003e175
sub eax, 0x1c
je 0x18003e1ff
cmp eax, 0x1c
jne 0x18003e212
mov qword [rdi], 0
mov qword [rdi + 8], 0
mov rcx, qword [r9]
add rcx, rsi
mov qword [rdi + 0x10], rcx
test r8, r8
jne 0x18003e16d
movsxd rax, dword [rbx]
mov qword [r12 + rax*8 + 0x60], rdi
jmp 0x18003e212
mov qword [r8], rdi
jmp 0x18003e212
mov rdx, qword [r9]
movsxd rax, dword [rbx]
add rdx, 0x18
mov qword [rbp - 0x68], rdx
test r8, r8
jne 0x18003e192
mov rcx, qword [r15 + rax*8 + 0xa9718]
jmp 0x18003e19a
mov rcx, qword [r15 + rax*8 + 0xa9d10]
mov esi, 0x3b9aca00
sub rsi, rdx
cmp rcx, rsi
cmovbe rsi, rcx
nop dword [rax]
mov ebx, 0xd8
mov eax, ebx
sub eax, 0xd6
je 0x18003e23a
sub eax, 1
je 0x18003e235
cmp eax, 1
jne 0x18003e279
lea rax, [rsi + rdx]
mov r8d, 0xf
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.18004f4b0
mov rdi, rax
test rax, rax
je 0x18003e275
mov rbx, qword [rbp + 0x258]
mov r9, qword [rbp + 0x240]
mov rax, qword [rbp - 0x68]
mov edx, 0xb2
add eax, esi
add dword [r12 + 0x90], eax
mov r8, qword [rbp - 0x60]
add edx, 0x1c
cmp edx, 0xea
jb 0x18003e127
mov r15, qword [rsp + 0x40]
mov r13d, 0x3a
jmp case.0x18003dd08.54
shr rsi, 1
jmp 0x18003e279
cmp rsi, 0x32
jae 0x18003e279
mov rax, qword [r14]
lea r9, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x50], 2
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 0x61]
call fcn.18005f350
mov rdx, qword [rbp - 0x68]
dec ebx
cmp ebx, 0xd5
ja 0x18003e1b5
jmp 0x18003e1b0
lea rcx, [rdi + 0x18]
add rcx, qword [rdi + 8]
mov qword [rbp - 0x58], rcx
jmp case.0x18003dd08.54
cmp qword [0x1800bbbc8], 0x10
lea r9, [0x1800bbbb0]
mov rdx, qword [rbp - 0x80]
cmovae r9, qword [0x1800bbbb0]
mov rax, rdx
mov rcx, qword [rsp + 0x78]
mov r14, qword [0x1800bbbc0]
sub rax, rcx
mov dword [rbp - 0x70], 0x104
cmp r14, rax
ja 0x18003e306
cmp rdx, 0x10
lea rax, [r14 + rcx]
lea rbx, [rsp + 0x68]
mov qword [rsp + 0x78], rax
cmovae rbx, qword [rsp + 0x68]
mov r8, r14
add rbx, rcx
mov rdx, r9
mov rcx, rbx
call fcn.180073920
mov byte [rbx + r14], 0
jmp 0x18003e318
mov rdx, r14
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x68]
call fcn.180068c50
xor eax, eax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
inc r13d
cmp r13d, dword [rbp - 0x6c]
jae case.0x18003dd08.40
mov r14, qword [rbp + 0x248]
mov rbx, qword [rbp + 0x258]
mov r9, qword [rbp + 0x240]
jmp 0x18003dce2
mov dword [rax + 0x24], 0xcf
mov dword [rsp + 0x60], 1
jmp case.0x18003dd08.40
xor eax, eax
mov dword [rsp + 0x60], eax
mov rdx, qword [rbp - 0x80]
mov r15, qword [rsp + 0x2f8]
mov r12, qword [rsp + 0x300]
mov rdi, qword [rsp + 0x308]
mov rsi, qword [rsp + 0x310]
cmp rdx, 0x10
jb 0x18003e3b3
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e3ae
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003e3c6
call fcn.180072898
mov rax, qword [rsp + 0x60]
add rsp, 0x318
pop r14
pop r13
pop rbx
pop rbp
ret
call fcn.1800773d0
int3