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

Disassembly:
sub esp, 0x814
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push esi
push edi
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43e85a
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b26b0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e832
cmp word [esp + 0x20], 1
jne 0x43e854
push eax
push 1
push 0xf1
push 0x28ce
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43e854
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 4
push 0
push 0x4b26b0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43e8f4
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b26dc
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e8cc
cmp word [esp + 0x20], 1
jne 0x43e8ee
push eax
push 1
push 0xf1
push 0x28cf
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43e8ee
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b26dc
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43e98e
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b2714
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e966
cmp word [esp + 0x20], 1
jne 0x43e988
push eax
push 1
push 0xf1
push 0x28d0
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43e988
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b2714
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43ea28
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b2740
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ea00
cmp word [esp + 0x20], 1
jne 0x43ea22
push eax
push 1
push 0xf1
push 0x28d1
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43ea22
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b2740
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43eac2
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b2760
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ea9a
cmp word [esp + 0x20], 1
jne 0x43eabc
push eax
push 1
push 0xf1
push 0x28d2
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43eabc
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b2760
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43eb5c
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b278c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43eb34
cmp word [esp + 0x20], 1
jne 0x43eb56
push eax
push 1
push 0xf1
push 0x28d3
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43eb56
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b278c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43ebf6
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b27ac
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ebce
cmp word [esp + 0x20], 1
jne 0x43ebf0
push eax
push 1
push 0xf1
push 0x28d4
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43ebf0
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b27ac
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call ebp
test eax, eax
jne 0x43ec90
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b27d0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ec68
cmp word [esp + 0x20], 1
jne 0x43ec8a
push eax
push 1
push 0xf1
push 0x28d5
push dword [0x4def88]
call ebx
push eax
call edi
jmp 0x43ec8a
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b27d0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b2800
push 0x80000002
call ebp
test eax, eax
jne 0x43ecfe
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 3
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b2864
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ecf8
push eax
push 1
push 0xf1
push 0x28d6
push dword [0x4def88]
call ebx
push eax
call edi
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x814
ret