Function at 0x18003bd00
Capabilities:
Access the windows event log
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1800dbea8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x70], 0x335a5f
mov eax, 0x74
mov word [rbp + 0x73], ax
mov eax, 0x61
mov word [rbp + 0x74], ax
mov eax, 0x6e
mov word [rbp + 0x75], ax
mov eax, 0x44
mov word [rbp + 0x76], ax
mov dword [rbp + 0x77], 0x5f3276
mov eax, 0x64
mov word [rbp + 0x7a], ax
movzx eax, word [0x1800d18fc]
mov word [rbp + 0x90], ax
mov eax, 0x25
mov word [rbp + 0x92], ax
mov ebx, 0x49
mov word [rbp + 0x93], bx
mov byte [rbp + 0x94], 0x4d
mov dword [rbp + 0x95], 0x495545
lea r8d, [rax - 0x1f]
lea rdx, str.LIB:07
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x1800d1908]
mov word [rbp + 0x9e], ax
movzx eax, byte [0x1800d190a]
mov byte [rbp + 0xa0], al
lea r8d, [rbx - 0x3f]
lea rdx, [rbp + 0xa0]
lea ecx, [rbx - 0x3e]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltoa]
mov dword [rbp + 0xa2], 0x252525
xor r9d, r9d
lea r8, [0x1800dbdb0]
mov edx, ebx
xor ecx, ecx
call fcn.180090720
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], r12b
lea rax, [rbp + 0x90]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x18003be32
xor r9d, r9d
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x28]
call fcn.18005c470
xorps xmm0, xmm0
test al, al
jne 0x18003bec6
mov bl, 1
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
call qword [sym.imp.WINMM.dll_waveInGetNumDevs]
movzx ebx, bl
test eax, eax
cmove ebx, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameA]
test bl, bl
je 0x18003c23d
mov dword [rsp + 0x50], r12d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveInGetID]
test eax, eax
je 0x18003c23d
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
mov ecx, eax
call qword [sym.imp.WINMM.dll_waveInGetErrorTextA]
jmp 0x18003c23d
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov dword [rsp + 0x60], r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov qword [rsp + 0x78], r12
movsd xmm0, qword [0x1800dbe58]
mulsd xmm0, qword [0x1800d3f30]
addsd xmm0, qword [0x1800d3e90]
cvttsd2si r14, xmm0
mov ebx, 0xed
lea r15, [0x180038580]
lea r13, [0x1800dbdd8]
nop dword [rax]
cmp ebx, 0x50
je 0x18003bf79
cmp ebx, 0xed
jne 0x18003bf6b
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
lea r8, [rsp + 0x50]
lea edx, [rbx + 0x35]
lea rcx, [rbp - 0x48]
call fcn.180037f20
add ebx, 0xbd
cmp ebx, 0x267
jb 0x18003bf30
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x60]
mov edx, edi
lea rcx, [rbp + 0x90]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov r15d, eax
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov r14, rax
mov edx, 0xf4
lea rcx, [rbp - 0x48]
call fcn.18003c330
test al, al
jne 0x18003c153
mov dil, 1
movzx r15d, dil
mov qword [rsp + 0x58], r12
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov ebx, eax
call qword [sym.imp.WINMM.dll_waveOutGetNumDevs]
mov r14d, eax
test ebx, ebx
je 0x18003c08e
mov eax, 0x50
mov word [rbp + 0x80], ax
mov eax, 0x43
mov word [rbp + 0x81], ax
mov dword [rbp + 0x82], 0x45565c49
mov dword [rbp + 0x86], 0x385f4e
mov dword [rbp + 0x89], 0x363830
lea rax, [rbp + 0x80]
inc rsi
cmp byte [rax + rsi], 0
jne 0x18003c026
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x70], r12
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov edx, esi
lea rcx, [rbp + 0x80]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
test eax, eax
jne 0x18003c08b
mov qword [rsp + 0x68], r12
lea r8, [rsp + 0x68]
mov edx, esi
lea rcx, [rbp + 0x80]
call sub.RPCRT4.dll_MesDecodeBufferHandleCreate
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18003c07c
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18003c08b
call sub.RPCRT4.dll_MesHandleFree
xor dil, dil
mov ebx, r15d
test r14d, r14d
cmove ebx, r12d
test dil, dil
je 0x18003c0c8
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.RPCRT4.dll_MesIncrementalHandleReset
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003c0c8
call sub.RPCRT4.dll_MesHandleFree
test bl, bl
je 0x18003c1ef
mov dword [rsp + 0x50], r12d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.WINMM.dll_waveOutGetID]
mov edi, eax
mov dword [rsp + 0x70], r12d
movzx ebx, bl
test eax, eax
cmove ebx, r12d
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 0xb]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test bl, bl
je 0x18003c1ef
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
mov ecx, edi
call qword [sym.imp.WINMM.dll_waveOutGetErrorTextA]
jmp 0x18003c1ef
mov al, 1
movzx ebx, al
test r15d, r15d
cmovne ebx, r12d
test r14, r14
je 0x18003c19b
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x70
lea r9, [rbp]
xor r8d, r8d
lea edx, [r8 + 9]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ReadEventLogA]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
test bl, bl
je 0x18003c1d7
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x78]
call sub.RPCRT4.dll_MesBufferHandleReset
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18003c1d7
call sub.RPCRT4.dll_MesHandleFree
mov dword [rsp + 0x20], 0x94
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006fac0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x18003c22d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c05d0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18003c27b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c05d0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800c0ae0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret