Function at 0x432490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530976
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1110
call fcn.004bd0a0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x1120]
mov ecx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
call fcn.00432370
test eax, eax
jl 0x432826
lea eax, [ebp - 0x14]
push eax
lea ebx, [ebp - 0x1120]
call fcn.004321e0
add esp, 4
test eax, eax
jne 0x4324f8
mov eax, 0x80020009
jmp 0x432826
call fcn.00432320
lea eax, [ebp - 0x1120]
mov ecx, esi
call fcn.00432370
xor edi, edi
cmp eax, edi
jl 0x432826
movzx eax, word [ebp - 0x14]
cmp eax, 0x13
jg 0x43270d
je 0x43266b
cmp eax, 8
je 0x43264f
cmp eax, 0x11
jne 0x432812
lea ecx, [ebp - 0x1120]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ebx, eax
test bl, 1
mov dword [ebp - 0x18], ebx
jne 0x4325b1
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 3
mov eax, edi
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 4
call fcn.004363c0
jmp 0x432592
mov edx, dword [ebp - 0x120]
test edx, edx
jne 0x4325bb
lea edx, [ebp - 0x11c]
test edx, edx
je 0x4325b1
lea eax, [ebp - 0x120]
call fcn.004366e0
mov eax, 0x80004005
jmp 0x432826
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor esi, esi
test ebx, ebx
rep stosb byte es:[edi], al
jle 0x43260a
mov ecx, dword [ebp - 0x120]
mov eax, esi
shr eax, 1
lea edi, [eax + ecx]
mov cl, byte [ebp + esi - 0x1120]
call fcn.00432280
mov edx, esi
and edx, 1
shl edx, 2
mov ecx, 4
sub ecx, edx
mov dl, byte [edi]
shl al, cl
or dl, al
inc esi
cmp esi, ebx
mov byte [edi], dl
jl 0x4325d5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
cmp eax, edx
je 0x432800
lea eax, [ebp - 0x120]
call fcn.004366e0
jmp 0x432800
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
lea esi, [ebp - 0x1120]
call fcn.004312a0
mov esi, eax
jmp 0x432800
call dword [0x586c98]
lea edx, [ebp - 0x1120]
push edx
mov ebx, eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
inc esi
lea edi, [esi + esi]
cmp edi, 0x400
ja 0x4326b2
push edi
call fcn.00401550
add esp, 4
test al, al
je 0x4326b2
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.004bd0a0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4326bb
push edi
lea ecx, [ebp - 0x14]
call fcn.00401520
push ebx
push esi
lea ecx, [ebp - 0x1120]
push ecx
push eax
call fcn.004015e0
test eax, eax
jne 0x4326e0
lea ecx, [ebp - 0x14]
call fcn.00401620
mov eax, 0x8007000e
jmp 0x432826
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
call fcn.00431280
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00401620
jmp 0x432800
cmp eax, 0x4008
jne 0x432812
lea ecx, [ebp - 0x1120]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
mov dword [ebp - 0x120], edi
cmp eax, 0x100
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
jbe 0x432798
lea edx, [ebp - 0x120]
push edx
call fcn.00436790
mov edi, dword [ebp - 0x120]
test edi, edi
je 0x4327e6
mov al, byte [ebp - 0x1120]
test al, al
lea esi, [ebp - 0x1120]
je 0x4327c5
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea ebx, [ebx]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x4327a6
cmp byte [eax], 0x30
jne 0x4327a6
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x4327c0
lea edi, [ebp - 0x11c]
mov dword [ebp - 0x120], edi
jmp 0x432754
xor eax, eax
mov byte [edi], cl
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_IsDBCSLeadByte]
test eax, eax
je 0x4327be
mov cl, byte [esi + 1]
inc edi
inc esi
mov byte [edi], cl
inc edi
inc esi
cmp byte [esi], 0
jne 0x432770
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov byte [edi], 0
mov edx, dword [ebp - 0x120]
push edx
push eax
push ecx
call fcn.004312d0
mov edi, dword [ebp - 0x120]
mov esi, eax
jmp 0x4327eb
mov esi, 0xe
lea edx, [ebp - 0x11c]
cmp edi, edx
je 0x432800
lea eax, [ebp - 0x120]
call fcn.004366e0
xor edi, edi
cmp esi, edi
je 0x43280f
mov eax, esi
call fcn.004368c0
jmp 0x432826
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ecx, esi
call fcn.00432370
xor ecx, ecx
cmp eax, edi
setge cl
dec ecx
and eax, ecx
lea esp, [ebp - 0x112c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10