Function at 0x4134b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov eax, 0x1124
lea ebp, [esp - 0x10a4]
call fcn.00416b60
mov eax, dword [0x41b040]
and dword [ebp - 0x68], 0
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10ac]
mov dword [ebp + 0x10a0], eax
mov eax, dword [ebp + 0x10b0]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xa0]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.00412eaa
test eax, eax
jl 0x4137a7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.004137c7
test eax, eax
pop ecx
pop ecx
jne 0x413527
mov eax, 0x80020009
jmp 0x4137a7
call fcn.00413b2a
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0xa0]
call fcn.00412eaa
test eax, eax
jl 0x4137a7
movzx eax, word [ebp - 0x68]
sub eax, 8
je 0x413777
sub eax, 9
je 0x4136c1
dec eax
dec eax
je 0x41360b
sub eax, 0x3ff5
jne 0x413796
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x64], 0
inc eax
push eax
lea esi, [ebp - 0x64]
call fcn.004138df
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x4135ef
cmp byte [ebp + 0xa0], 0
lea esi, [ebp + 0xa0]
je 0x4135da
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x4135bc
cmp byte [eax], 0x30
jne 0x4135bc
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x4135d5
xor eax, eax
mov byte [edi], cl
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x4135d3
inc edi
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x4135a2
mov byte [edi], 0
push dword [ebp - 0x64]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.0041388a
mov esi, eax
jmp 0x4135f2
push 0xe
pop esi
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x413789
lea eax, [ebp - 0x64]
call fcn.00413881
jmp 0x413789
call dword [0x41b070]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xa0]
xor edi, edi
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea esi, [ebx + ebx]
cmp esi, 0x400
ja 0x413650
push esi
call fcn.004126ce
test al, al
pop ecx
je 0x413650
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00416b60
mov eax, esp
jmp 0x41365d
mov eax, esi
lea esi, [ebp - 0x68]
call fcn.00412727
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x78]
lea ecx, [ebp + 0xa0]
push ebx
push ecx
mov esi, eax
call fcn.0041269c
test eax, eax
je 0x41369f
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.004138c1
mov esi, eax
jmp 0x4136b8
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.00415bf9
pop ecx
test edi, edi
jne 0x413694
mov eax, 0x8007000e
jmp 0x4137a7
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.00415bf9
pop ecx
test edi, edi
jne 0x4136ad
jmp 0x413789
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 0x68], eax
jne 0x4136fd
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
xor edi, edi
push ebx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], edi
call fcn.004138df
cmp dword [ebp - 0x64], edi
jne 0x413707
lea eax, [ebp - 0x60]
test eax, eax
je 0x4136fd
mov eax, esi
call fcn.00413881
mov eax, 0x80004005
jmp 0x4137a7
push ebx
push edi
push dword [ebp - 0x64]
call fcn.00416080
add esp, 0xc
cmp dword [ebp - 0x68], 0
jle 0x41374c
mov ecx, dword [ebp - 0x64]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi + 0xa0]
call fcn.004138ff
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x68]
jl 0x41371a
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x64]
push 3
push 0
push dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x413789
lea eax, [ebp - 0x64]
call fcn.00413881
jmp 0x413789
push 1
lea eax, [ebp + 0xa0]
push eax
push ebx
push edi
call fcn.00413859
mov esi, eax
test esi, esi
je 0x413796
mov eax, esi
call fcn.00413b1b
jmp 0x4137a7
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
call fcn.00412eaa
test eax, eax
jl 0x4137a7
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10a0]
xor ecx, ebp
call fcn.00415ea8
add ebp, 0x10a4
leave
ret 8