Function at 0x436cc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6694
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x878]
xor eax, eax
mov dword [ebp - 0x8bc], 0
push eax
push 0x65e834
xor bl, bl
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.00423820
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8b0]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x60b048
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x8b0], 0
call esi
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8b0]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x60b088
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [ebp - 0x8b8]
cmp eax, 2
jne 0x436ee0
lea eax, [ebp - 0x8b0]
push eax
push 0xf013f
push 0
push 0x60b088
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x436dd2
push 0x65e834
mov ecx, edi
call fcn.00423920
jmp 0x4370c8
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x850], ax
lea eax, [ebp - 0x84e]
push eax
call fcn.005bc550
add esp, 0xc
mov dword [ebp - 0x8b4], 0x800
lea eax, [ebp - 0x8b4]
push eax
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0x60b0dc
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436ee9
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x878]
call fcn.004280b0
push 1
push 0x60b0e8
lea ecx, [ebp - 0x860]
call fcn.00435bd0
lea ecx, [ebp - 0x48]
call fcn.00435cb0
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.0043e2a0
push 0
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.00435060
add esp, 0x18
test al, al
sete al
cmp dword [ebp - 0x87c], 0x10
mov byte [ebp - 0x8a9], al
jb 0x436eaa
push dword [ebp - 0x890]
call fcn.005ba02a
mov al, byte [ebp - 0x8a9]
add esp, 4
test al, al
movzx ebx, bl
mov eax, dword [ebp - 0x40]
mov ecx, 1
cmovne ebx, ecx
test eax, eax
je 0x436ec7
push eax
call fcn.005ba02a
add esp, 4
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0
call fcn.00436310
test bl, bl
je 0x4370ae
jmp 0x436ee9
cmp eax, 1
jne 0x4370ae
push 0x3f
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x50], 0
push 0
push eax
call fcn.005bc550
add esp, 0xc
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, byte [ebp - 0x851]
push eax
movzx eax, byte [ebp - 0x852]
push eax
movzx eax, byte [ebp - 0x853]
push eax
movzx eax, byte [ebp - 0x854]
push eax
movzx eax, byte [ebp - 0x855]
push eax
movzx eax, byte [ebp - 0x856]
push eax
movzx eax, byte [ebp - 0x857]
push eax
movzx eax, byte [ebp - 0x858]
push eax
movzx eax, word [ebp - 0x85a]
push eax
movzx eax, word [ebp - 0x85c]
push eax
push dword [ebp - 0x860]
lea eax, [ebp - 0x50]
push 0x60b0f8
push 0x40
push eax
call fcn.00434f90
add esp, 0x38
mov dword [ebp - 0x87c], 0xf
cmp byte [ebp - 0x50], 0
mov dword [ebp - 0x880], 0
mov byte [ebp - 0x890], 0
jne 0x436f98
xor ecx, ecx
jmp 0x436fa9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436fa0
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x890]
call fcn.00421120
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x890]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00420f90
lea eax, [ebp - 0x8a8]
push eax
call fcn.0043e330
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x878]
cmp eax, esi
je 0x43703e
cmp dword [ebp - 0x864], 8
jb 0x437015
push dword [ebp - 0x878]
call fcn.005ba02a
add esp, 4
xor eax, eax
mov dword [ebp - 0x864], 7
push esi
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.00424e30
cmp dword [ebp - 0x894], 8
jb 0x437055
push dword [ebp - 0x8a8]
call fcn.005ba02a
add esp, 4
lea edx, [ebp - 0x50]
lea ecx, [edx + 1]
jmp 0x437060
mov al, byte [edx]
inc edx
test al, al
jne 0x437060
sub edx, ecx
cmp dword [ebp - 0x864], 8
lea ecx, [ebp - 0x878]
cmovae ecx, dword [ebp - 0x878]
lea eax, [edx + edx]
push eax
push ecx
push 1
push 0
push 0x60b0dc
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x87c], 0x10
jb 0x4370ae
push dword [ebp - 0x890]
call fcn.005ba02a
add esp, 4
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x878]
mov ecx, edi
push eax
call fcn.004243f0
cmp dword [ebp - 0x864], 8
jb 0x4370df
push dword [ebp - 0x878]
call fcn.005ba02a
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 4