Function at 0x2e01c842
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x2e003054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x698], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x23c], ax
xor edi, edi
lea eax, [ebp - 0x23a]
push edi
push eax
call fcn.2e0347a3
xor eax, eax
push 0x2e
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push edi
push eax
call fcn.2e0347a3
xor eax, eax
push esi
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push edi
push eax
call fcn.2e0347a3
add esp, 0x24
lea eax, [ebp - 0x444]
push 0x104
push eax
push edi
mov dword [ebp - 0x68c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x2e01c8ff
lea eax, [ebp + eax*2 - 0x446]
jmp 0x2e01c8df
cmp word [eax], 0x5c
je 0x2e01c8f5
dec eax
dec eax
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x68c], eax
cmp eax, ecx
ja 0x2e01c8d7
cmp word [eax], 0x5c
jne 0x2e01c908
inc eax
inc eax
mov dword [ebp - 0x68c], eax
jmp 0x2e01c908
xor eax, eax
mov word [ebp - 0x444], ax
push ebx
lea ecx, [ebp - 0x694]
mov dword [ebp - 0x694], edi
call fcn.2e01c537
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov ebx, 0x20019
push ebx
push edi
push 0x2e0030b4
push 0x80000000
call esi
test eax, eax
jne 0x2e01c9ed
lea ecx, [ebp - 0x688]
mov dword [ebp - 0x688], edi
call fcn.2e01c537
push eax
push ebx
push edi
push dword [ebp - 0x698]
push dword [ebp - 0x694]
call esi
test eax, eax
jne 0x2e01c9d9
lea ecx, [ebp - 0x684]
mov dword [ebp - 0x684], edi
call fcn.2e01c537
push eax
push ebx
push edi
push 0x2e0031f0
push dword [ebp - 0x688]
call esi
test eax, eax
jne 0x2e01c9c5
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x23c]
push eax
push edi
push edi
push 0x2e001d64
push dword [ebp - 0x684]
mov dword [ebp - 0x690], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e01c9bc
mov word [ebp - 0x36], ax
jmp 0x2e01c9c5
xor eax, eax
mov word [ebp - 0x23c], ax
cmp dword [ebp - 0x684], edi
je 0x2e01c9d9
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x688], edi
je 0x2e01c9ed
push dword [ebp - 0x688]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x23c], di
je 0x2e01cada
push 0x2e0031d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e0031c0
push eax
mov dword [ebp - 0x684], eax
call esi
lea ecx, [ebp - 0x688]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
call eax
mov dword [ebp - 0x688], eax
cmp eax, edi
jne 0x2e01ca3e
xor eax, eax
mov word [ebp - 0x34], ax
jmp 0x2e01cada
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x2e01cada
push 0x2e0031ac
push dword [ebp - 0x684]
call esi
push ebx
push dword [ebp - 0x688]
lea ecx, [ebp - 0x23c]
push edi
push ecx
call eax
test eax, eax
je 0x2e01cacb
push 0x2e00319c
push dword [ebp - 0x684]
call esi
lea ecx, [ebp - 0x684]
push ecx
lea ecx, [ebp - 0x690]
push ecx
push 0x2e003198
push ebx
call eax
test eax, eax
je 0x2e01cacb
mov eax, dword [ebp - 0x690]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x34]
push 0x2e003180
push eax
call fcn.2e01c707
add esp, 0x18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
push 0x23a
mov word [ebp - 0x680], ax
lea eax, [ebp - 0x67e]
push edi
push eax
call fcn.2e0347a3
push dword [ebp - 0x698]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x680]
push 0x2e00316c
push eax
call fcn.2e01c721
lea eax, [ebp - 0x680]
mov dword [ebp - 0x690], eax
mov eax, dword [ebp - 0x68c]
add esp, 0x20
pop ebx
cmp word [eax], di
jne 0x2e01cb37
mov eax, 0x2e003098
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, 0xffffffff
je 0x2e01cb6c
cmp esi, edi
je 0x2e01cb6c
push edi
lea eax, [ebp - 0x690]
push eax
push edi
push 1
push edi
push 0x60005330
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [ebp - 0x694], edi
pop edi
pop esi
je 0x2e01cb82
push dword [ebp - 0x694]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2e01c4ed
leave
ret 4