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

Disassembly:
push 0x18
mov eax, 0x4610a9
call fcn.0044542c
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x49b858]
jne 0x43d423
mov eax, 0xa0
jmp 0x43d726
mov eax, dword [0x469588]
cmp eax, 0xffffffff
jne 0x43d434
movzx eax, byte [0x49b854]
test eax, eax
jne 0x43d724
call fcn.0045738d
test eax, eax
jne 0x43d724
push 1
push ebx
call fcn.0043d758
test al, al
jne 0x43d724
xor edi, edi
mov esi, edi
mov dword [ebp - 0x1c], esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
call fcn.0043e080
movzx eax, word [ebx + 0xc]
shr eax, 1
push edi
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.0043d96e
test eax, eax
jne 0x43d60d
jmp 0x43d4a2
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x43d4b1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push edi
lea ecx, [ebp - 0x20]
push ecx
push edi
push dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x43d50b
cmp dword [ebp - 0x14], eax
je 0x43d50b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00459443
test al, al
jne 0x43d4e6
mov esi, dword [ebp - 0x1c]
push 8
pop edi
jmp 0x43d50b
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x43d4f2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, edi
call fcn.0043d857
test eax, eax
je 0x43d56d
push 0x1c0497
xor edi, edi
push edi
call fcn.0044013d
mov eax, dword [ebx + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x49b860
mov dword [eax + 0x469528], edi
call fcn.0043cfec
movzx eax, word [ebx + 0xc]
shr eax, 1
push edi
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x10], edi
call fcn.0043d96e
mov edi, eax
test edi, edi
je 0x43d4a0
jmp 0x43d57a
push dword [ebp - 0x10]
mov ecx, 0x49b860
call fcn.0043cf50
test edi, edi
jne 0x43d60b
test esi, esi
je 0x43d60b
movzx eax, word [ebx + 0xc]
and eax, 0xf
cmp dword [ebp - 0x20], eax
jne 0x43d672
dec eax
cmp eax, 1
ja 0x43d5e4
mov eax, dword [ebp - 0x14]
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43d5da
test dx, dx
je 0x43d5d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43d5da
add eax, 4
add ecx, 4
test dx, dx
jne 0x43d5b1
xor eax, eax
jmp 0x43d66a
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x43d66a
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x14], eax
jne 0x43d672
push dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00446950
add esp, 0xc
test eax, eax
jne 0x43d672
xor edi, edi
jmp 0x43d70d
xor edi, edi
mov ecx, dword [ebx + 4]
cmp ecx, 0xcccccccc
je 0x43d672
movzx eax, word [ebx + 0xc]
and eax, 0xf
jle 0x43d64d
cmp eax, 2
jle 0x43d648
cmp eax, 4
je 0x43d641
cmp eax, 0xb
jne 0x43d64d
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jne 0x43d672
cmp dword [eax + 4], edi
jne 0x43d672
jmp 0x43d70d
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jmp 0x43d63a
cmp ecx, dword [ebp + 0xc]
jmp 0x43d63a
push 0x1c0499
call fcn.004400e8
mov eax, dword [ebp + 0x10]
push eax
push dword [ebx + 4]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00446950
add esp, 0xc
test eax, eax
je 0x43d70d
push 0
jmp 0x43d6d7
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x43d682
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push dword [ebp + 0x10]
movzx eax, word [ebx + 0xc]
push dword [ebp + 0xc]
and eax, 0xf
push eax
push 0
push dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
call fcn.0043d857
test eax, eax
je 0x43d700
push 0x1c049a
xor edi, edi
push edi
call fcn.0044013d
mov eax, dword [ebx + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x49b860
mov dword [eax + 0x469528], edi
call fcn.0043cfec
mov dword [ebp - 0x10], edi
push edi
movzx eax, word [ebx + 0xc]
and eax, 0x20
or eax, 8
shr eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
call fcn.0043d96e
mov edi, eax
test edi, edi
je 0x43d676
jmp 0x43d70d
push dword [ebp - 0x10]
mov ecx, 0x49b860
call fcn.0043cf50
lea ecx, [ebp + 0xb]
call fcn.0043e0a1
test esi, esi
je 0x43d720
push esi
call fcn.004400df
pop ecx
mov eax, edi
jmp 0x43d726
xor eax, eax
call fcn.00445504
ret 0xc