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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop ebx
lea ecx, [ebp + 8]
push ecx
lea eax, [esi + 0x98]
push eax
xor edi, edi
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1001744
push dword [esi + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [esi + 0x4d4], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esi + 0x98]
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, edi
jne 0x10033a4
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x4d8]
push ecx
push edi
push 0x1001728
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100356b
cmp dword [ebp + 8], edi
je 0x100356b
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x90]
push eax
push edi
push 0x1001704
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
cmp dword [ebp - 4], edi
jne 0x100375b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x10016e4
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
mov word [ebp - 0x14], 2
mov word [ebp - 0x12], bx
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0xf
call fcn.01002714
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.010098be
cmp dword [ebp - 8], edi
jg 0x1003395
mov eax, dword [ebp - 0xc]
jl 0x100338a
cmp eax, 0xffffffff
jae 0x1003395
mov dword [esi + 0x4f4], eax
jmp 0x100374d
mov dword [esi + 0x4f4], 0xfffffffe
jmp 0x100374d
cmp eax, 2
jne 0x100358a
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x4d8]
push ecx
push edi
push 0x1001728
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100356b
cmp dword [ebp + 8], edi
je 0x100356b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
mov word [ebp - 0x12], bx
push 0x10016e4
lea ebx, [esi + 0xbc]
push ebx
push dword [esi + 8]
mov word [ebp - 0x14], 2
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0xf
call fcn.01002714
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.010098be
cmp dword [ebp - 8], edi
jg 0x100344b
mov eax, dword [ebp - 0xc]
jl 0x1003443
cmp eax, 0xffffffff
jae 0x100344b
mov dword [esi + 0x4f4], eax
jmp 0x1003455
mov dword [esi + 0x4f4], 0xfffffffe
cmp dword [ebp - 4], edi
jne 0x100375b
lea eax, [esi + 0x4f0]
push eax
lea eax, [ebp - 8]
push eax
push 0x10016c8
push ebx
push dword [esi + 8]
mov dword [ebp - 8], edi
call fcn.010027f0
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
test byte [esi + 0x4f0], 2
mov ebx, 0x10016c4
je 0x10034b6
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x4e0]
push eax
push ebx
push 0x10016a8
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jne 0x100375b
test byte [esi + 0x4f0], 4
je 0x1003536
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x90]
push eax
push edi
push 0x100168c
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
cmp dword [ebp - 4], edi
jne 0x100375b
test byte [esi + 0x4f1], 0x40
je 0x1003536
mov eax, dword [esi + 0x4e8]
cmp eax, edi
jne 0x1003509
mov dword [ebp - 0x18], edi
jmp 0x1003514
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x4e8]
push eax
push ebx
push 0x1001678
push dword [esi + 8]
call fcn.01009601
cmp dword [ebp - 4], edi
jne 0x100375b
test byte [esi + 0x4f0], 8
je 0x1003752
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x4e4]
push eax
push ebx
push 0x100165c
lea eax, [esi + 0xbc]
push eax
push dword [esi + 8]
call fcn.010028c3
mov dword [ebp - 4], eax
jmp 0x100374d
lea eax, [esi + 0xbc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 1
push edi
push 0x800007e4
jmp 0x100373e
cmp eax, 1
jne 0x1003715
lea eax, [esi + 0x990]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001644
lea ebx, [esi + 0xbc]
push ebx
push dword [esi + 8]
mov dword [ebp - 8], edi
call fcn.010027f0
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 4], eax
lea eax, [esi + 0x4e0]
push eax
push edi
push 0x100161c
push ebx
push dword [esi + 8]
call fcn.010028c3
cmp dword [ebp + 8], edi
jne 0x100364c
cmp eax, edi
je 0x1003601
test byte [esi + 0x990], 0xfe
jne 0x1003601
cmp dword [ebp - 4], edi
mov eax, 0x800007e5
jne 0x10035f1
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 4
push 1
push edi
push eax
jmp 0x100363a
push 2
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, edi
mov dword [esi + 0x4e0], eax
je 0x1003621
mov word [eax], di
jmp 0x100364c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 4
push 1
push edi
mov dword [ebp - 4], 0xe
push 0x800007e5
push edi
push 2
push dword [0x1012b30]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
cmp dword [ebp - 4], edi
jne 0x100375b
lea eax, [esi + 0x980]
push eax
lea eax, [ebp - 8]
push eax
push 0x10015f8
push ebx
push dword [esi + 8]
mov dword [ebp - 8], 4
call fcn.010027f0
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [esi + 0x984]
push eax
lea eax, [ebp - 8]
push eax
push 0x10015c8
push ebx
push dword [esi + 8]
mov dword [ebp - 8], 2
call fcn.010027f0
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [esi + 0x988]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001598
push ebx
push dword [esi + 8]
mov dword [ebp - 8], 0x19
call fcn.010027f0
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [esi + 0x98c]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001560
push ebx
push dword [esi + 8]
mov dword [ebp - 8], edi
call fcn.010027f0
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100375b
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x90]
push eax
push edi
push 0x1001704
push ebx
push dword [esi + 8]
call fcn.010028c3
jmp 0x100374d
cmp eax, 0xffffffff
jne 0x1003723
mov dword [ebp - 4], 0x80000800
jmp 0x100375b
push ecx
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 1
mov eax, 0x800007d9
lea edx, [esi + 0xbc]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], edx
push eax
push edi
push 2
push dword [0x1012b30]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
cmp dword [ebp - 4], edi
jne 0x100375b
push esi
call fcn.01002c4a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4