Function at 0x423440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476e11
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1128
call fcn.0045c740
mov eax, dword [0x4eec64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x1018]
mov edi, edx
mov dword [ebp - 0x1134], eax
push ecx
mov eax, esi
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x1130], edi
mov dword [ebp - 0x1124], 0
call fcn.00423300
test eax, eax
jl 0x4238c2
lea edx, [ebp - 0x1124]
push edx
lea eax, [ebp - 0x1018]
push eax
call fcn.00423150
add esp, 8
test eax, eax
jne 0x4234dc
mov eax, 0x80020009
jmp 0x4238c2
call fcn.004232b0
lea ecx, [ebp - 0x1018]
push ecx
mov eax, esi
call fcn.00423300
test eax, eax
jl 0x4238c2
movzx eax, word [ebp - 0x1124]
cmp eax, 0x13
jg 0x42378d
je 0x42368c
cmp eax, 8
je 0x423661
cmp eax, 0x11
jne 0x4238aa
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [ebp - 0x112c], ebx
test bl, 1
jne 0x4235c7
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor eax, eax
mov dword [ebp - 0x1124], edi
mov dword [ebp - 0x1120], eax
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
cmp eax, eax
ja 0x423566
cmp edi, 0xffffffff
jbe 0x423570
push 0x80070057
call fcn.004218d0
cmp edi, 0x100
jbe 0x42359c
lea eax, [ebp - 0x1120]
push eax
mov eax, edi
call fcn.0042a810
jmp 0x4235a8
lea ecx, [ebp - 0x111c]
mov dword [ebp - 0x1120], ecx
mov eax, dword [ebp - 0x1120]
test eax, eax
jne 0x4235d1
lea edx, [ebp - 0x111c]
test edx, edx
je 0x4235c7
lea eax, [ebp - 0x1120]
call fcn.0042a520
mov eax, 0x80004005
jmp 0x4238c2
push edi
push 0
push eax
call fcn.0045c600
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x42361b
mov ecx, dword [ebp - 0x1120]
mov eax, esi
shr eax, 1
lea edi, [eax + ecx]
mov cl, byte [ebp + esi - 0x1018]
call fcn.00423200
mov edx, esi
and edx, 1
add edx, edx
add edx, edx
mov ecx, 4
sub ecx, edx
shl al, cl
inc esi
or byte [edi], al
cmp esi, ebx
jl 0x4235e3
mov edi, dword [ebp - 0x1124]
mov ecx, dword [ebp - 0x1120]
mov edx, dword [ebp - 0x1130]
mov eax, dword [ebp - 0x1128]
mov eax, dword [eax]
push edi
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea eax, [ebp - 0x111c]
cmp dword [ebp - 0x1120], eax
je 0x423897
lea eax, [ebp - 0x1120]
call fcn.0042a520
jmp 0x423897
lea ecx, [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebx]
lea edx, [ebp - 0x1018]
push edx
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
jmp 0x423897
mov dword [ebp - 0x1128], 0
lea ecx, [ebp - 0x1018]
push ecx
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 0
mov dword [ebp - 0x1124], eax
cdq
push 2
push edx
push eax
call fcn.0046f360
test edx, edx
jg 0x42372b
jl 0x4236ca
cmp eax, 0x7fffffff
ja 0x42372b
push edx
push eax
lea ecx, [ebp - 0x1124]
call fcn.00421770
add esp, 8
test eax, eax
jl 0x42372b
mov edi, dword [ebp - 0x1124]
cmp edi, 0x400
jg 0x423707
push edi
call fcn.00421790
add esp, 4
test al, al
je 0x423707
mov eax, edi
call fcn.00472bc0
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x423716
mov eax, edi
lea esi, [ebp - 0x1128]
call fcn.00429e20
mov esi, eax
mov edx, edi
push 3
shr edx, 1
lea eax, [ebp - 0x1018]
call fcn.00421840
test eax, eax
jne 0x423740
lea esi, [ebp - 0x1128]
call fcn.00429e50
mov eax, 0x8007000e
jmp 0x4238c2
lea edx, [ebp - 0x112c]
push edx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x112c]
mov edx, dword [ebp - 0x1130]
push 4
lea ecx, [ebp - 0x1124]
push ecx
push 4
push 0
mov dword [ebp - 0x1124], eax
mov eax, dword [ebx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esi, [ebp - 0x1128]
mov edi, eax
call fcn.00429e50
jmp 0x423897
cmp eax, 0x4008
jne 0x4238aa
lea ecx, [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
add eax, 2
mov dword [ebp - 0x1120], ecx
mov dword [ebp - 4], ecx
mov byte [ebp - 4], 1
cmp ecx, ecx
ja 0x4237c0
cmp eax, 0xffffffff
jbe 0x4237ca
push 0x80070057
call fcn.004218d0
cmp eax, 0x100
jbe 0x4237ed
lea edx, [ebp - 0x1120]
push edx
call fcn.0042a810
jmp 0x4237f9
lea eax, [ebp - 0x111c]
mov dword [ebp - 0x1120], eax
mov edi, dword [ebp - 0x1120]
test edi, edi
je 0x423879
cmp byte [ebp - 0x1018], 0
lea esi, [ebp - 0x1018]
je 0x42385a
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x423832
cmp byte [eax], 0x30
jne 0x423832
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x42384f
mov byte [edi], cl
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x42384d
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
je 0x423854
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x423818
mov ebx, dword [ebp - 0x1128]
mov eax, dword [ebp - 0x1130]
mov byte [edi], 0
mov byte [edi + 1], 0
mov edx, dword [ebp - 0x1120]
push edx
push eax
push ebx
call fcn.004220b0
mov edi, eax
jmp 0x42387e
mov edi, 0xe
lea ecx, [ebp - 0x111c]
cmp dword [ebp - 0x1120], ecx
je 0x423897
lea eax, [ebp - 0x1120]
call fcn.0042a520
test edi, edi
je 0x4238a4
mov eax, edi
call fcn.00421a90
jmp 0x4238c2
mov esi, dword [ebp - 0x1138]
mov edx, dword [ebp - 0x1134]
push edx
mov eax, esi
call fcn.00423300
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and eax, ecx
lea esp, [ebp - 0x1148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c0ce
mov esp, ebp
pop ebp
ret 8