Function at 0x10003a50
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009945
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003c5d
push eax
push 0x1000a6a8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10003910
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 3
push 0x1000a6dc
cmp eax, 3
jb 0x10003afc
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x10003b0d
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push 3
call fcn.100025d0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 2
jb 0x10003b3c
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
mov edx, 0x7244
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x10003b54
push 2
push 0x1000a6e0
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push 2
call fcn.100025d0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x10003b7b
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], 0x69
jmp 0x10003b93
push 1
push 0x1000a6e4
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push 1
call fcn.100025d0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xa
push str.veCoUpdate
cmp eax, 0xa
jb 0x10003bca
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x10003bdb
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push 0xa
call fcn.100025d0
mov esi, dword [ebp + 0x1c]
lea edx, [ebp + 8]
cmp esi, 0x10
cmovae edx, dword [ebp + 8]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10003bf0
sub edx, ecx
lea eax, [ebp - 0x28]
push edx
cmp esi, 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push 1
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10003c5d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003c53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10003c93
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003c89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100086bf
mov esp, ebp
pop ebp
ret