Function at 0x1034ee0
Capabilities:
Access the windows event log

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x010657f0]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x188], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x190], rax
movzx eax, word [0x01001c38]
mov word [rsp + 0x1a0], ax
lea rax, [rsp + 0x1a2]
mov rdi, rax
xor eax, eax
mov ecx, 0x106
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x70], ax
lea rax, [rsp + 0x72]
mov rdi, rax
xor eax, eax
mov ecx, 0x106
rep stosb byte [rdi], al
lea r8, [0x01068050]
mov edx, 0x84
lea rcx, [rsp + 0x1a0]
call fcn.01013c30
mov r8, qword [rsp + 0x2f0]
mov edx, 0x84
lea rcx, [rsp + 0x70]
call fcn.01013c30
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.MSVCR80.dll_wcslen]
lea rax, [rax + rax + 2]
cdqe
mov qword [rsp + 0x2b0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR80.dll_wcslen]
lea rax, [rax + rax + 2]
cdqe
mov rcx, qword [rsp + 0x2b0]
lea rax, [rcx + rax + 0x10]
mov dword [rsp + 0x50], eax
mov r8d, 0x7c7
lea rdx, [0x01007d28]
mov ecx, dword [rsp + 0x50]
call fcn.01014dd0
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
jne 0x1035025
jmp 0x1035264
movsxd rax, dword [rsp + 0x50]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x188]
call sub.MSVCR80.dll_memset
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x2e0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x2e8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.MSVCR80.dll_wcslen]
lea rax, [rax + rax + 2]
mov r8, rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x58]
call sub.MSVCR80.dll_memcpy
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR80.dll_wcslen]
lea rax, [rax + rax + 2]
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call sub.MSVCR80.dll_memcpy
lea rdx, [0x01067f40]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
je 0x1035257
lea rcx, [0x01065b28]
call qword [0x01068178]
test eax, eax
jne 0x103519d
cmp dword [0x010679c0], 0
je 0x1035190
cmp dword [0x01067484], 0
je 0x1035190
lea rdx, [0x01007d28]
lea rcx, [0x01001b70]
call qword [sym.imp.MSVCR80.dll_wprintf]
lea rcx, [0x01065b28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x010679c0], 0
je 0x10351c3
cmp dword [0x01067484], 0
je 0x10351c3
lea rdx, [0x01007d28]
lea rcx, [0x01001b38]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 0x40004a4b
mov r8w, 2
movzx edx, word [rsp + 0x2d0]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
lea rcx, [0x01065b28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x010679c0], 0
je 0x1035249
cmp dword [0x01067484], 0
je 0x1035249
lea rdx, [0x01007d28]
lea rcx, [0x01001b00]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x188]
call fcn.01015550
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.010588f0
add rsp, 0x2c0
pop rdi
ret