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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0e79
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x101080e5
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], 0
call fcn.100de193
cmp dword [esi + 0x10], 0
jne 0x100122de
cmp dword [0x101063a0], 0
je 0x100125f5
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x100125f5
cmp dword [eax + 0x58], 5
jb 0x100125f5
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x59], al
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push 0x17
push str.Reg_ValueName_Is_Empty_
call fcn.10004bc0
push 0x17d
push str.RC::RCRestartDelFileApi::WriteRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x101063a0
push eax
push 5
call fcn.100357b0
cmp byte [ebp - 0x59], 0
je 0x100122ca
lea eax, [ebp - 0x30]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10004b60
jmp 0x100125f5
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], vtable.RC::RCBuffer_unsigned_char_.0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
push 0x288
call fcn.10013a30
push 0x288
push edi
mov edi, dword [ebp - 0x50]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
push 0x1e
push str.XhY3UnE17A92w5d3J6eo8_4rw_qph
mov byte [ebp - 0x30], 0
call fcn.100059b0
mov byte [ebp - 4], 2
push 0x108
mov dword [ebp - 0x14], 0
call fcn.100dcb76
push 0x102
push 0
push eax
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [eax + 0x104], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x14]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.10025d50
test edi, edi
je 0x100123bc
mov ecx, dword [ebp - 0x14]
mov edx, edi
push 0x288
call fcn.10025c30
add esp, 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x18], 0
call fcn.1002ade0
mov byte [ebp - 4], 4
xor eax, eax
push 0x37
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.SYSTEMCurrentControlSet_services2345DumpBlockSection
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10004bc0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x64], 1
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.1002af70
test al, al
je 0x10012431
cmp dword [ebp - 0x60], 0
mov byte [ebp - 0x59], 1
jne 0x10012435
mov byte [ebp - 0x59], 0
mov dword [ebp - 4], 4
mov eax, 1
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x48]
and eax, 0xfffffffe
mov dword [ebp - 0x64], eax
call fcn.10004b60
cmp byte [ebp - 0x59], 0
je 0x1001247a
cmp dword [esi + 0x14], 8
jb 0x10012460
mov esi, dword [esi]
push 0x288
push edi
push 3
push 0
push esi
mov esi, dword [ebp - 0x60]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10012534
cmp dword [0x101063a0], 0
je 0x10012531
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x10012531
cmp dword [eax + 0x58], 5
jb 0x10012531
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x59], al
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x100124e0
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x48]
push str.Create_Reg_ValueName___s_Failed_
push eax
call fcn.10035c70
add esp, 0xc
lea eax, [ebp - 0x48]
mov ecx, 0x101063a0
push 0x194
push str.RC::RCRestartDelFileApi::WriteRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
push eax
push 5
call fcn.100357b0
cmp byte [ebp - 0x59], 0
je 0x10012525
lea eax, [ebp - 0x48]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.10004b60
mov esi, dword [ebp - 0x60]
test esi, esi
mov esi, dword [ebp - 0x18]
je 0x10012557
mov eax, dword [esi + 4]
test eax, eax
je 0x10012557
push 0x100f0850
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012557
push dword [ebp - 0x60]
call eax
mov byte [ebp - 4], 3
push 8
push esi
call fcn.100dcba6
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
push 0x108
push dword [ebp - 0x14]
call fcn.100dcba6
add esp, 0x10
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100125c1
mov edx, dword [ebp - 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100125b7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100125b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], vtable.RC::RCBuffer_unsigned_char_.0
test edi, edi
je 0x100125f5
push edi
call fcn.100dcb71
add esp, 4
mov dword [ebp - 0x50], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret 8