Function at 0x436588
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2114
call fcn.00517f10
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2010]
mov dword [ebp - 0x211c], ecx
push esi
call fcn.0043554a
test eax, eax
js 0x4368fb
push 0x6390a2
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43660b
push 0x6390a6
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436611
push 0x6390aa
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436617
push 0x6390ae
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, 0x80020009
test eax, eax
jne 0x4368fd
mov si, 0x11
jmp 0x43661b
mov si, 8
jmp 0x43661b
mov si, 0x4008
jmp 0x43661b
mov si, 0x13
mov eax, dword [ebp - 0x211c]
mov eax, dword [eax]
mov ebx, 0x800013
mov edi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
add ecx, 0xfffffff7
cmp cx, 0x17
ja 0x43664f
movzx ecx, cx
bt ebx, ecx
jae 0x43664f
push eax
call edi
mov ecx, dword [ebp - 0x211c]
mov dword [ecx], eax
jmp 0x43662e
mov ecx, dword [ebp - 0x211c]
lea eax, [ebp - 0x2010]
push eax
call fcn.0043554a
test eax, eax
js 0x4368fb
cmp si, 0x12
jg 0x4366ec
cmp si, 8
je 0x4367d0
cmp si, 0x11
jne 0x436916
lea eax, [ebp - 0x2010]
push eax
call fcn.006208d5
add esp, 4
mov ebx, 0x80004005
test al, 1
jne 0x4368fd
mov edi, eax
shr edi, 0x1f
mov esi, eax
add edi, eax
sar edi, 1
mov dword [ebp - 0x2114], 0
cmp edi, 0x100
jbe 0x436841
lea ecx, [ebp - 0x2114]
push edi
call fcn.004351c2
lea eax, [ebp - 0x2114]
mov eax, dword [eax]
test eax, eax
jne 0x43684a
lea ecx, [ebp - 0x2114]
call fcn.00436a1e
jmp 0x4368fd
cmp si, 0x13
je 0x4367ea
movzx eax, si
cmp eax, 0x4008
jne 0x436916
lea eax, [ebp - 0x2010]
push eax
call fcn.006208d5
add esp, 4
add eax, 2
lea ebx, [ebp - 0x2114]
mov dword [ebx], 0
mov ecx, ebx
push eax
call fcn.004369ea
mov ebx, dword [ebx]
test ebx, ebx
je 0x436837
cmp word [ebp - 0x2010], 0
je 0x436775
lea esi, [ebp - 0x2010]
push esi
call edi
mov edx, esi
movzx ecx, word [esi]
cmp cx, 0x5c
jne 0x436764
cmp word [eax], 0x30
jne 0x436764
mov word [ebx], 0
push eax
call edi
mov esi, eax
jmp 0x43676c
mov word [ebx], cx
mov esi, edx
add esi, 2
add ebx, 2
cmp word [esi], 0
jne 0x436744
mov dword [ebx], 0
mov esi, dword [ebp - 0x2114]
test esi, esi
je 0x4368de
xor ebx, ebx
mov edi, esi
push edi
call fcn.006208d5
add esp, 4
lea edi, [edi + eax*2]
add edi, 2
lea ebx, [ebx + eax*2]
add ebx, 2
test eax, eax
jne 0x43678d
push ebx
push esi
push 7
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2110]
cmp dword [eax - 4], eax
jne 0x4368e3
jmp 0x4368ee
lea edi, [ebp - 0x2010]
push edi
call fcn.006208d5
add esp, 4
add eax, eax
add eax, 2
push eax
push edi
push 1
jmp 0x436820
lea eax, [ebp - 0x2118]
xor ecx, ecx
lea edx, [ebp - 0x2010]
push eax
push ecx
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x4368fb
mov eax, dword [ebp - 0x2118]
lea ecx, [ebp - 0x2114]
mov dword [ecx], eax
mov eax, 4
push eax
push ecx
push eax
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x4368ee
mov edi, 0xe
jmp 0x4368e3
lea eax, [ebp - 0x2110]
mov dword [eax - 4], eax
mov dword [ebp - 0x2120], edi
push edi
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov eax, esi
test esi, esi
jle 0x4368a9
xor eax, eax
xor ebx, ebx
movzx ecx, word [ebp + ebx*2 - 0x2010]
add ecx, 0xffffffd0
mov edx, 0
cmp cx, 0x36
ja 0x436887
movsx ecx, cx
movzx edx, byte [ecx*4 + 0x649dc8]
mov ecx, eax
not cl
and cl, 4
shl edx, cl
mov edi, dword [ebp - 0x2114]
mov ecx, edx
mov edx, ebx
shr edx, 1
or byte [edi + edx], cl
inc ebx
add eax, 4
mov ecx, esi
cmp esi, ebx
jne 0x436866
lea ebx, [ebp - 0x2110]
push dword [ebp - 0x2120]
push dword [ebx - 4]
push 3
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp dword [ebx - 4], ebx
je 0x4368ee
lea ecx, [ebp - 0x2114]
call fcn.00436a1e
jmp 0x4368ee
mov edi, 0xd
lea ecx, [ebp - 0x2114]
call fcn.00436a1e
test edi, edi
je 0x436916
push edi
call fcn.0043692d
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x2114
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x211c]
push dword [ebp + 0x10]
call fcn.0043554a
mov ebx, eax
sar ebx, 0x1f
and ebx, eax
jmp 0x4368fd