Function at 0x4138ce
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
lea eax, [ebp - 0xc]
push eax
xor edi, edi
mov esi, 0x2001f
push esi
push edi
push str.Software
push 0x80000001
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x413989
lea eax, [ebp - 4]
push eax
push esi
push edi
push str.BugSplat
push dword [ebp - 0xc]
call ebx
cmp eax, edi
je 0x41393a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push str.BugSplat
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x413989
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call ebx
cmp eax, edi
je 0x413969
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x413989
push dword [ebp + 0x10]
call fcn.0041a174
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x413999
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x4139a3
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], edi
je 0x4139ad
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4139b2
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4412dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.BugSplat
push str.SYSTEMCurrentControlSetServicesEventLogApplication_s
mov esi, 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push esi
push eax
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.0041a84d
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [0x4435ec]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0041a174
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 2
push edi
push str.EventMessageFile
push dword [ebp - 0x210]
call esi
push 4
lea eax, [ebp - 0x218]
push eax
push 4
push edi
push str.TypesSupported
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 7
call esi
cmp dword [ebp - 0x214], edi
jbe 0x413abd
lea eax, [ebp - 0x20c]
push eax
call fcn.0041a174
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 2
push edi
push str.CategoryMessageFile
push dword [ebp - 0x210]
call esi
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push edi
push str.CategoryCount
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419542
leave
ret