Function at 0x1800f16f0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1801094f8]
xor rax, rsp
mov qword [rbp + 0x1d8], rax
mov qword [rsp + 0x58], r9
mov qword [rbp - 0x80], r8
mov r13d, edx
mov dword [rsp + 0x38], edx
mov r12, rcx
mov qword [rbp - 0x68], rcx
xor r14d, r14d
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r14w
lea r15d, [rdx + 0xe]
mov dword [rsp + 0x34], r15d
lea rdx, [0x180000000]
lea r8d, [r14 + 0x6c]
cmp r13d, r15d
jae 0x1800f1965
lea esi, [r13 - 0x61]
lea edi, [r14 + 0x49]
movabs rbx, 0x2e003200330079
lea r14d, [r8 - 0x5e]
lea r12d, [r8 - 0x49]
lea r15d, [r8 - 0x4c]
lea r13d, [r8 - 8]
nop word [rax + rax]
cmp esi, 0x21
ja case.0x1800f17ab.14
movzx eax, byte [rdx + rsi + 0xf2a9c]
mov ecx, dword [rdx + rax*4 + 0xf2a60]
add rcx, rdx
jmp rcx
xor eax, eax
mov word [rbp + 0x16a], ax
lea r8d, [rax + 1]
lea rdx, [0x180101fc8]
lea rcx, [rbp + 0x158]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 0x6c
mov dword [rbp + 0x16c], r8d
mov r9, qword [rsp + 0x58]
lea rdx, [0x180000000]
jmp case.0x1800f17ab.14
mov r8d, 4
lea rdx, [0x180101ff2]
lea rcx, [rbp + 0x1a2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x1aa], r13w
mov r9, qword [rsp + 0x58]
lea rdx, [0x180000000]
mov r8d, 0x6c
jmp case.0x1800f17ab.14
mov word [rbp + 0x16e], r8w
jmp case.0x1800f17ab.14
mov r8d, 4
lea rdx, [0x180102004]
lea rcx, [rbp + 0x117]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, 4
lea rdx, [0x180102008]
lea rcx, [rbp + 0x11a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1800f180e
mov r8d, 0xa
lea rdx, [rbp + 0x125]
lea ecx, [r8 - 3]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltoa]
mov word [rbp + 0x128], di
mov dword [rbp + 0x129], 0x5f4449
mov dword [rbp + 0x12c], 0x6c4f49
jmp 0x1800f180e
mov byte [rbp + 0x11f], 0x49
jmp case.0x1800f17ab.14
movzx eax, word [0x18010200c]
mov word [rbp + 0x110], ax
movzx eax, byte [0x18010200e]
mov byte [rbp + 0x112], al
mov r8d, 0xa
lea rdx, [rbp + 0x112]
lea ecx, [r8 - 4]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltoa]
lea rcx, [rbp + 0x110]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1800f18e7
movzx eax, word [0x180102010]
mov word [rcx], ax
jmp 0x1800f180e
mov rdi, qword [r9 + 8]
mov rbx, qword [r9]
cmp rbx, rdi
je 0x1800f193d
nop dword [rax + rax]
xor r9d, r9d
mov r8, rbx
mov edx, 0x91
xor ecx, ecx
call fcn.1800f9e70
add rbx, 0x10
cmp rbx, rdi
jne 0x1800f1910
mov r9, qword [rsp + 0x58]
lea rdx, [0x180000000]
mov r8d, 0x6c
mov edi, 0x49
movabs rbx, 0x2e003200330079
inc esi
sub r14, 1
jne 0x1800f1790
mov r12, qword [rbp - 0x68]
mov r13d, dword [rsp + 0x38]
lea r15d, [r13 + 0xe]
mov eax, r13d
mov dword [rsp + 0x70], eax
movabs r9, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x68]
movzx esi, byte [rsp + 0x32]
mov r10, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x32]
mov r11d, dword [rsp + 0x60]
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x30], sil
mov qword [rsp + 0x48], r10
mov byte [rsp + 0x31], dil
mov dword [rsp + 0x3c], r11d
cmp r13d, r15d
jae 0x1800f232e
mov r12d, 0x65
movabs r13, 0x6c006c0064
movzx ebx, byte [rsp + 0x32]
mov dword [rsp + 0x40], ebx
movabs r8, 0x2e00320033
add eax, 0xffffff9f
cmp eax, 0x21
ja case.0x1800f19f9.102
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0xf2af8]
mov ecx, dword [rdx + rax*4 + 0xf2ac0]
add rcx, rdx
jmp rcx
mov dword [rbp + 0x120], 0x204854
mov word [rbp + 0x123], r12w
mov r8d, 0xa
lea rdx, [rbp + 0x124]
lea ecx, [r8 - 5]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
jmp 0x1800f180e
xor eax, eax
mov word [rbp + 0x170], ax
movsd xmm0, qword [0x1801020d4]
movsd qword [rbp + 0x198], xmm0
movzx eax, word [0x1801020dc]
mov word [rbp + 0x1a0], ax
jmp case.0x1800f17ab.14
movzx eax, word [0x1801020f0]
mov word [rbp + 0x114], ax
movzx eax, byte [0x1801020f2]
mov byte [rbp + 0x116], al
mov r8d, 0xa
lea rdx, [rbp + 0x116]
lea ecx, [r8 - 5]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
jmp 0x1800f180e
xor eax, eax
mov word [rbp + 0x1a2], ax
jmp case.0x1800f17ab.14
xor eax, eax
mov word [rbp + 0x158], ax
lea r8d, [rax + 5]
lea rdx, [0x18010217c]
lea rcx, [rbp + 0x158]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov qword [rbp + 0x162], rbx
jmp 0x1800f180e
mov word [rbp + 0x11d], r15w
mov r8d, 2
lea rdx, [0x18010221c]
lea rcx, [rbp + 0x11e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1800f180e
mov word [rbp + 0x1c6], r14w
mov r8d, 4
lea rdx, [0x18010222a]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 1
lea rdx, [0x18010223c]
lea rcx, [rbp + 0x1ce]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x1d0], r14w
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x3c]
jmp case.0x1800f19f9.102
mov r8d, 2
lea rdx, [0x18010226e]
lea rcx, [rbp + 0x198]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 4
lea rdx, [0x18010228a]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, dword [0x1801022ba]
mov dword [rbp + 0x1c0], eax
movzx eax, word [0x1801022be]
mov word [rbp + 0x1c4], ax
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x3c]
jmp case.0x1800f19f9.102
mov rcx, r14
mov qword [rbp + 0x28], rcx
cmp qword [0x180109438], 0
jbe case.0x1800f19f9.102
mov r12d, 7
nop dword [rax]
cmp r12d, 0x247
ja 0x1800f1ca2
je 0x1800f1c62
cmp r12d, 7
je 0x1800f1c49
cmp r12d, 0x97
je 0x1800f1c1e
cmp r12d, 0x127
je 0x1800f1c0b
cmp r12d, 0x1b7
jne 0x1800f1ed0
mov dword [rsp + 0x60], r14d
mov dword [rbp - 0x78], r14d
mov qword [rsp + 0x78], r14
jmp 0x1800f1ed0
mov dword [rbp - 0x28], 0x30
mov dword [rbp + 0x48], 0x30
jmp 0x1800f1ed0
mov dword [rsp + 0x64], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x48], xmm1
movups xmmword [rbp + 0x58], xmm1
movups xmmword [rbp + 0x68], xmm1
jmp 0x1800f1ed0
mov bl, 1
mov byte [rsp + 0x32], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x48], xmm1
jmp 0x1800f1ecc
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x70], r14
lea r9, [rbp - 0x70]
mov r8d, dword [rbp - 0x78]
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x48]
call sub.ADVAPI32.dll_LsaOpenPolicy
mov rcx, qword [rbp + 0x28]
movabs r9, 0x7ffffffffffffffe
cmp qword [rbp - 0x70], 0
jne 0x1800f1ed0
mov byte [rsp + 0x32], 0
jmp 0x1800f1ed0
cmp r12d, 0x2d7
je 0x1800f1e8a
cmp r12d, 0x367
je 0x1800f1e29
cmp r12d, 0x3f7
jne 0x1800f1ed0
lea rax, [0x180109428]
cmp qword [0x180109440], 0x10
cmovae rax, qword [0x180109428]
movsx r13d, byte [rax + rcx]
mov rsi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
cmp rsi, rcx
jae 0x1800f1d1b
lea rax, [rsi + 1]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmp rcx, 8
cmovae rax, qword [rbp + 8]
mov word [rax + rsi*2], r13w
mov word [rax + rsi*2 + 2], r14w
mov rcx, qword [rbp + 0x28]
jmp 0x1800f1ed0
mov rax, r9
sub rax, rsi
cmp rax, 1
jb 0x1800f2a5a
lea r15, [rsi + 1]
mov r14, qword [rbp + 0x20]
mov rbx, r15
or rbx, 7
cmp rbx, r9
jbe 0x1800f1d44
mov rbx, r9
jmp 0x1800f1d65
mov rcx, r14
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp r14, rax
jbe 0x1800f1d5a
mov rbx, r9
jmp 0x1800f1d65
lea rax, [r14 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 8]
call fcn.1800fb8c0
mov rdi, rax
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x1800f1df7
mov rbx, qword [rbp + 8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi], r13w
xor eax, eax
mov word [rsi + rdi + 2], ax
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1800f1dd1
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1800f2312
mov rbx, rcx
mov rcx, rbx
call fcn.1800fe31c
mov qword [rbp + 8], rdi
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x28]
xor r14d, r14d
movabs r9, 0x7ffffffffffffffe
jmp 0x1800f1ed0
lea rdx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi], r13w
xor r14d, r14d
mov word [rsi + rdi + 2], r14w
mov qword [rbp + 8], rdi
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x28]
movabs r9, 0x7ffffffffffffffe
jmp 0x1800f1ed0
test bl, bl
je 0x1800f1ed0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x58]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x78]
call sub.ADVAPI32.dll_LsaLookupSids
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1800f1e5f
call sub.ADVAPI32.dll_LsaFreeMemory
cmp qword [rbp - 0x58], 0
je 0x1800f1e70
mov rcx, qword [rsp + 0x68]
call sub.ADVAPI32.dll_LsaFreeMemory
mov rcx, qword [rsp + 0x78]
call sub.ADVAPI32.dll_LsaClose
mov rcx, qword [rbp + 0x28]
movabs r9, 0x7ffffffffffffffe
jmp 0x1800f1ed0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call sub.ADVAPI32.dll_LsaOpenPolicy
cmp byte [rsp + 0x32], 0
je 0x1800f1eb1
mov rcx, qword [rbp - 0x70]
call sub.ADVAPI32.dll_LsaClose
movzx ebx, bl
cmp qword [rsp + 0x78], 0
cmove ebx, r14d
mov rcx, qword [rbp + 0x28]
movabs r9, 0x7ffffffffffffffe
mov dword [rsp + 0x40], ebx
add r12d, 0x90
cmp r12d, 0x487
jb 0x1800f1bc0
inc rcx
mov qword [rbp + 0x28], rcx
cmp rcx, qword [0x180109438]
jb 0x1800f1bb3
mov r15d, dword [rsp + 0x34]
movzx edi, byte [rsp + 0x31]
movzx esi, byte [rsp + 0x30]
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x3c]
mov r12d, 0x65
movabs r13, 0x6c006c0064
jmp case.0x1800f19f9.102
movsd xmm0, qword [str.slea]
movsd qword [rbp + 0x13a], xmm0
movzx eax, word [0x1801022e8]
mov word [rbp + 0x142], ax
jmp case.0x1800f19f9.102
mov eax, 0x61
mov word [rbp + 0x131], ax
mov eax, 0x63
mov word [rbp + 0x132], ax
mov eax, 0x68
mov word [rbp + 0x133], ax
jmp case.0x1800f19f9.102
mov word [rbp + 0x178], r14w
mov r8d, 3
lea rdx, [0x1801022f0]
lea rcx, [rbp + 0x178]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rbp + 0x17e], r12d
mov eax, dword [0x1801022fc]
mov dword [rbp + 0x180], eax
movzx eax, word [0x180102300]
mov word [rbp + 0x184], ax
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x3c]
jmp case.0x1800f19f9.102
mov word [rbp + 0x1ac], r14w
jmp case.0x1800f19f9.102
mov word [rbp + 0x134], r12w
jmp case.0x1800f19f9.102
mov word [rbp + 0x12f], r12w
mov eax, 0x43
mov word [rbp + 0x130], ax
jmp case.0x1800f19f9.102
mov qword [rsp + 0x50], r14
mov rdi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
cmp rdi, rcx
jae 0x1800f203b
lea rax, [rdi + 1]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmp rcx, 8
cmovae rax, qword [rbp + 8]
mov dword [rax + rdi*2], 0x2e
xor eax, eax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], eax
movzx edi, byte [rsp + 0x31]
jmp case.0x1800f19f9.102
mov rax, r9
sub rax, rdi
cmp rax, 1
jb 0x1800f2a54
lea r15, [rdi + 1]
mov rsi, qword [rbp + 0x20]
mov rbx, r15
or rbx, 7
cmp rbx, r9
jbe 0x1800f2064
mov rbx, r9
jmp 0x1800f2085
mov rcx, rsi
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp rsi, rax
jbe 0x1800f207a
mov rbx, r9
jmp 0x1800f2085
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 8]
call fcn.1800fb8c0
mov r14, rax
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rbx
add rdi, rdi
mov r8, rdi
mov rcx, rax
cmp rsi, 8
jb 0x1800f20f7
mov rbx, qword [rbp + 8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x2e
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1800f20ed
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1800f29b4
mov rbx, rcx
mov rcx, rbx
call fcn.1800fe31c
jmp 0x1800f2108
lea rdx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x2e
mov qword [rbp + 8], r14
xor r14d, r14d
mov r11d, dword [rsp + 0x3c]
mov r10, qword [rsp + 0x48]
movzx esi, byte [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
xor eax, eax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], eax
movzx edi, byte [rsp + 0x31]
jmp case.0x1800f19f9.102
mov qword [rbp + 0x184], r8
mov qword [rbp + 0x18a], r13
mov dword [rbp + 0x138], 0x73
jmp case.0x1800f19f9.102
mov rdi, qword [0x180109418]
lea rbx, [0x180109408]
cmp qword [0x180109420], 8
cmovae rbx, qword [0x180109408]
cmp rdi, 8
jae 0x1800f218c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
mov esi, 7
mov r15, qword [rbp + 0x28]
jmp 0x1800f21cb
mov rsi, rdi
or rsi, 7
cmp rsi, r9
cmova rsi, r9
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x28]
call fcn.1800fb8c0
mov r15, rax
mov qword [rbp + 0x28], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs r9, 0x7ffffffffffffffe
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rdi
lea r14, [rbp + 0x28]
cmp rsi, 8
cmovae r14, r15
cmp rdi, 8
jae 0x1800f21f3
movups xmm0, xmmword [r14]
mov qword [rbp + 0x60], 7
jmp 0x1800f222d
mov rbx, rdi
or rbx, 7
cmp rbx, r9
cmova rbx, r9
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x48]
call fcn.1800fb8c0
mov qword [rbp + 0x48], rax
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x60], rbx
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x58], rdi
mov rcx, qword [rbp + 0x20]
cmp rcx, 8
jb 0x1800f2275
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f2270
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f2319
call fcn.1800fe31c
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbp + 8], xmm0
movups xmm0, xmmword [rbp + 0x58]
movups xmmword [rbp + 0x18], xmm0
cmp rsi, 8
jb 0x1800f22c0
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1800f22b8
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f29b4
mov rcx, r15
call fcn.1800fe31c
mov sil, 1
mov byte [rsp + 0x30], sil
xor r14d, r14d
mov r10d, r14d
mov qword [rsp + 0x48], r14
movzx edi, sil
mov byte [rsp + 0x31], sil
mov r15d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x3c]
jmp case.0x1800f19f9.102
mov r11d, r14d
mov dword [rsp + 0x3c], r14d
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
movabs r9, 0x7ffffffffffffffe
cmp eax, r15d
jae 0x1800f2320
mov ebx, dword [rsp + 0x40]
jmp 0x1800f19ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x38]
lea ebx, [r13 - 0xe]
mov dword [rsp + 0x34], ebx
cmp r13d, ebx
movzx ebx, byte [rsp + 0x32]
jbe 0x1800f29e4
lea r15d, [r13 - 0x5b]
mov dword [rsp + 0x40], r15d
movabs r8, 0x3200330079
mov r13, qword [rbp - 0x50]
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
cmp r15d, 0x22
ja case.default.0x1800f238e
lea rcx, [0x180000000]
movzx eax, byte [rcx + r15 + 0xf2b58]
mov ecx, dword [rcx + rax*4 + 0xf2b1c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
lea r8, [rbp + 0x178]
mov edx, 0x6f
lea ecx, [rdx + 0xb]
call fcn.1800fafd0
mov rsi, rax
lea r8, [rbp + 0x138]
mov edx, 0xc
lea ecx, [rdx + 0x6e]
call fcn.1800fafd0
mov rdi, rax
mov qword [r12], r14
call rsi
mov rcx, rax
call rdi
mov r14, qword [rbp - 0x80]
mov qword [r14], rax
mov rdx, qword [rsp + 0x50]
movzx edi, byte [rsp + 0x31]
jmp 0x1800f293a
mov r9d, dword [rsp + 0x60]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x110]
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_ControlTraceA]
mov ecx, r14d
movzx eax, sil
cmp dword [rsp + 0x64], 0
cmovne ecx, eax
movzx esi, cl
mov byte [rsp + 0x30], cl
mov rdx, qword [rsp + 0x50]
jmp 0x1800f2942
mov dword [rbp + 0x14c], 0x6c
mov r8d, 2
lea rdx, [0x180102314]
lea rcx, [rbp + 0x14e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rdx, qword [rsp + 0x50]
jmp 0x1800f2942
mov qword [rbp + 0x142], r8
mov eax, 0x2e
mov dword [rbp + 0x148], eax
mov dword [rbp + 0x14a], 0x64
jmp case.0x1800f238e.14
mov rsi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
cmp rsi, rcx
jae 0x1800f249d
lea rax, [rsi + 1]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmp rcx, 8
cmovae rax, qword [rbp + 8]
mov dword [rax + rsi*2], 0x64
movzx esi, byte [rsp + 0x30]
jmp case.0x1800f238e.14
mov rax, r9
sub rax, rsi
cmp rax, 1
jb 0x1800f2a54
lea r12, [rsi + 1]
mov r14, qword [rbp + 0x20]
mov rdi, r12
or rdi, 7
cmp rdi, r9
jbe 0x1800f24c6
mov rdi, r9
jmp 0x1800f24e7
mov rcx, r14
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp r14, rax
jbe 0x1800f24dc
mov rdi, r9
jmp 0x1800f24e7
lea rax, [rcx + r14]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 8]
call fcn.1800fb8c0
mov r15, rax
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rdi
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x1800f2561
mov rdi, qword [rbp + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15 + rsi], 0x64
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1800f254f
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800f29b4
mov rdi, rcx
mov rcx, rdi
call fcn.1800fe31c
movzx edi, byte [rsp + 0x31]
jmp 0x1800f292c
lea rdx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15 + rsi], 0x64
movzx edi, byte [rsp + 0x31]
jmp 0x1800f292c
mov edi, 0xf0
mov eax, edi
sub eax, 0xee
je 0x1800f29e4
sub eax, 1
je 0x1800f25a8
cmp eax, 1
jne 0x1800f25bc
mov rax, qword [rsp + 0x58]
mov edx, dword [rax]
mov rcx, qword [r12]
call r13
jmp 0x1800f25bc
mov rcx, qword [r12]
call qword [rsp + 0x68]
cmp eax, 1
jne 0x1800f2983
movzx ebx, al
dec edi
cmp edi, 0xed
ja 0x1800f2581
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rax
lea rdx, [rbp + 0x128]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rdx, rax
mov qword [rsp + 0x50], rax
mov r14, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
cmp r14, rsi
jae 0x1800f2655
lea rcx, [r14 + 1]
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 8]
cmp rsi, 8
cmovae rcx, qword [rbp + 8]
mov dword [rcx + r14*2], 0x61
mov dword [rbp - 0x74], 0x44
movzx edi, byte [rsp + 0x31]
jmp 0x1800f293a
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x1800f2a54
lea r12, [r14 + 1]
mov rdi, r12
or rdi, 7
cmp rdi, rdx
jbe 0x1800f2684
mov rdi, rdx
jmp 0x1800f26a5
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x1800f269a
mov rdi, rdx
jmp 0x1800f26a5
lea rax, [rsi + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 8]
call fcn.1800fb8c0
mov r15, rax
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rdi
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x1800f2717
mov rdi, qword [rbp + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15 + r14], 0x61
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1800f270d
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800f29b4
mov rdi, rcx
mov rcx, rdi
call fcn.1800fe31c
jmp 0x1800f2728
lea rdx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15 + r14], 0x61
mov qword [rbp + 8], r15
mov rdx, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x40]
mov dword [rbp - 0x74], 0x44
movzx edi, byte [rsp + 0x31]
jmp 0x1800f293a
lea r8, [rbp + 0x158]
mov edx, 0x2b
lea ecx, [rdx + 0x4f]
call fcn.1800fafd0
mov qword [rsp + 0x68], rax
lea r8, [rbp + 0x198]
mov edx, 0x57
lea ecx, [rdx + 0x23]
call fcn.1800fafd0
mov r13, rax
lea r8, [rbp + 0x1b8]
mov edx, 0x4b
lea ecx, [rdx + 0x2f]
call fcn.1800fafd0
mov qword [rbp - 0x60], rax
mov rdx, qword [rsp + 0x50]
jmp 0x1800f2942
mov r14, qword [rbp - 0x80]
mov rcx, qword [r14]
call qword [rbp - 0x60]
mov qword [r12], rax
test rax, rax
je 0x1800f299c
mov rdx, qword [rsp + 0x50]
jmp 0x1800f293f
test dil, dil
je case.0x1800f238e.14
mov rcx, rdx
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov rdx, qword [rsp + 0x50]
jmp 0x1800f2942
mov rax, qword [rbp - 0x80]
cmp qword [rax], 0
je 0x1800f29b0
jmp case.0x1800f238e.14
mov dword [rsp + 0x60], r14d
jmp case.0x1800f238e.14
mov ecx, r14d
movzx eax, dil
test rdx, rdx
cmovne ecx, eax
movzx edi, cl
mov byte [rsp + 0x31], cl
lea r9, [rbp - 0x74]
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x78]
mov ecx, r11d
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
mov dword [rsp + 0x64], eax
mov r14, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
cmp r14, rsi
jae 0x1800f284f
lea rcx, [r14 + 1]
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 8]
cmp rsi, 8
cmovae rcx, qword [rbp + 8]
mov dword [rcx + r14*2], 0x74
jmp 0x1800f2935
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x1800f2a54
lea r12, [r14 + 1]
mov rdi, r12
or rdi, 7
cmp rdi, rdx
jbe 0x1800f287e
mov rdi, rdx
jmp 0x1800f289f
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x1800f2894
mov rdi, rdx
jmp 0x1800f289f
lea rax, [rsi + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 8]
call fcn.1800fb8c0
mov r15, rax
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rdi
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x1800f2911
mov rdi, qword [rbp + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + r15], 0x74
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1800f2907
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800f29b4
mov rdi, rcx
mov rcx, rdi
call fcn.1800fe31c
jmp 0x1800f2922
lea rdx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + r15], 0x74
movzx edi, byte [rsp + 0x31]
mov byte [rsp + 0x31], dil
mov qword [rbp + 8], r15
mov r15d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
movzx esi, byte [rsp + 0x30]
xor r14d, r14d
movabs r8, 0x3200330079
mov r11d, dword [rsp + 0x3c]
mov r10, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x34]
dec ecx
mov dword [rsp + 0x38], ecx
dec r15d
mov dword [rsp + 0x40], r15d
cmp ecx, eax
jbe 0x1800f29e4
mov r12, qword [rbp - 0x68]
movabs r9, 0x7ffffffffffffffe
jmp 0x1800f2363
xor r9d, r9d
mov r8d, 0x9b
mov rdx, r12
mov rcx, qword [rbp - 0x80]
call fcn.1800fa490
xor bl, bl
jmp 0x1800f29e4
xor r9d, r9d
mov r8d, 0x9b
mov rdx, r12
mov rcx, r14
call fcn.1800fa490
xor bl, bl
jmp 0x1800f29e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test sil, sil
je 0x1800f29cd
mov edx, r11d
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
mov r8d, 0xb3
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 8]
call fcn.1800fd6b0
movzx ebx, al
mov rcx, qword [rbp + 0x20]
cmp rcx, 8
jb 0x1800f2a27
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f2a22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f2a22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fe31c
movzx eax, bl
mov rcx, qword [rbp + 0x1d8]
xor rcx, rsp
call fcn.1800fe830
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800fb7e0
nop
call fcn.1800fb7e0
int3