Function at 0x43d980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e8b
mov eax, dword fs:[0]
push eax
mov eax, 0x1330
call fcn.0053fec0
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x1330], eax
mov ebx, dword [ebp + 8]
test eax, eax
je 0x43dc67
test esi, esi
je 0x43dc67
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push eax
call fcn.0053e230
mov eax, dword [0x5c72f0]
add esp, 0xc
test al, 1
jne 0x43da10
or eax, 1
mov dword [0x5c72f0], eax
call fcn.0043ca50
push 0x57cdc0
call fcn.0053d012
add esp, 4
cmp dword [0x5c7324], 8
mov eax, 0x5c7310
push 0x59a91c
cmovae eax, dword [0x5c7310]
push eax
push 0x5981c0
lea eax, [ebp - 0x29c]
push 0x103
push eax
call fcn.00546433
add esp, 0x14
mov dword [ebp - 0x1328], 0
lea eax, [ebp - 0x1338]
mov dword [ebp - 0x133c], 1
mov dword [ebp - 0x1338], 4
push eax
lea eax, [ebp - 0x1328]
push eax
lea eax, [ebp - 0x133c]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x29c]
push eax
push SysReAllocString
call esi
mov ecx, dword [ebp - 0x1328]
lea eax, [ecx - 1]
cmp eax, 0x3f
ja 0x43dc67
xor edi, edi
test ecx, ecx
je 0x43dc42
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push eax
call fcn.0053e230
push edi
push dword [ebp - 0x1330]
lea eax, [ebp - 0x94]
push str._s_d
push 0x3f
push eax
call fcn.00546433
push 0x105c
lea eax, [ebp - 0x1320]
mov dword [ebp - 0x132c], 3
push 0
push eax
mov dword [ebp - 0x1324], 0
call fcn.0053e230
add esp, 0x2c
mov dword [ebp - 0x1334], 0x1060
lea eax, [ebp - 0x1334]
push eax
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x132c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x29c]
push eax
push SysReAllocString
call esi
test eax, eax
jne 0x43dc35
cmp dword [ebp - 0x132c], 3
jne 0x43dc35
push ecx
lea ecx, [ebp - 0x1324]
call fcn.004319e0
add esp, 4
cmp dword [ebp - 0x1324], 0x1060
jne 0x43dc35
mov eax, dword [ebp - 0x1320]
cmp eax, 0xffffffff
je 0x43db8e
cdq
cmp eax, dword [0x5c5aa0]
jne 0x43dc35
cmp edx, dword [0x5c5aa4]
jne 0x43dc35
cmp dword [ebp - 0x131c], 0
je 0x43dc35
mov esi, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x1324]
mov edx, 0x1060
mov dword [ebp - 0x2c8], 0
call fcn.00431a40
cmp esi, eax
jne 0x43dc2f
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x1314]
mov dword [ebp - 0x2a8], edi
push eax
call fcn.0041b8c0
mov eax, dword [ebp - 0x1318]
mov ecx, ebx
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0043eab0
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 4], 0xffffffff
call fcn.0043dcb0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
inc edi
cmp edi, dword [ebp - 0x1328]
jb 0x43daa6
mov ecx, dword [ebx + 4]
mov eax, 0x38e38e39
sub ecx, dword [ebx]
imul ecx
mov eax, 0
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ecx, 1
cmovne eax, ecx
jmp 0x43dc69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret