Function at 0x43c5cb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4688c0
call fcn.00466f40
sub esp, 0xe90
push ebx
push esi
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], esp
push eax
xor ebx, ebx
push 0x40db7c
mov dword [ebp - 0x30], ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x34], ebx
je 0x43cc64
mov esi, 0x81
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x26a]
mov word [ebp - 0x26c], bx
mov dword [ebp - 0x3c], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x48], 0x104
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
jne 0x43cc5b
mov ecx, esi
lea edi, [ebp - 0x67a]
mov word [ebp - 0x67c], bx
mov word [ebp - 0xc94], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xc92]
mov word [ebp - 0xa8c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xa8a]
inc dword [ebp - 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x472]
mov word [ebp - 0x474], bx
rep stosd dword es:[edi], eax
push 0x40db7c
lea ecx, [ebp - 0x20]
stosw word es:[edi], ax
mov dword [ebp - 0x48], 0x104
call fcn.00416715
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push 1
pop edi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x1c], 0x5c
call fcn.004168db
lea eax, [ebp - 0x26c]
test eax, eax
je 0x43c6e3
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x26c]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004168db
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], edi
push eax
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
push 0x40da90
mov dword [ebp - 0x24], 0x103
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x67c]
push 0x40db2c
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x43cc4a
mov ecx, dword [ebp - 0x30]
push 3
call fcn.0043cc73
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x43cc4a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x103
push eax
lea eax, [ebp - 0xc94]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x40db14
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x103
push eax
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x40daac
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x103
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x40db08
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x43c7d1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 3
jmp 0x43c82b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x40b79c
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x43c7ff
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 1
jmp 0x43c82b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x40dae8
push dword [ebp - 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x43c82b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 2
lea eax, [ebp - 0xa8c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x43cc3c
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x24], 2
je 0x43cc3f
push ecx
lea eax, [ebp - 0xa8c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00416715
mov ecx, dword [ebp - 0x30]
call fcn.0043cd84
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x43cc3c
lea eax, [ebp - 0xc94]
lea ecx, [ebp - 0x18]
push eax
call fcn.00416715
mov eax, dword [0x40b12c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp word [eax], 0x40
jne 0x43caf7
push ebx
push 0x40d810
lea ecx, [ebp - 0x18]
call fcn.00419352
cmp eax, 0xffffffff
je 0x43caf7
push ebx
push 0x40ba54
lea ecx, [ebp - 0x18]
call fcn.00419352
cmp eax, 0xffffffff
je 0x43caf7
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xe9a]
mov word [ebp - 0xe9c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x882]
mov word [ebp - 0x884], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xe9c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0044dfa7
mov eax, dword [0x40b12c]
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], eax
push ebx
push 0x2c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042b6a2
inc eax
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00419290
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0041688b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004166e9
push ebx
push 0x2c
lea ecx, [ebp - 0x18]
call fcn.0042b6a2
dec eax
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push 1
push eax
call fcn.004192b3
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0041688b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.004166e9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe9c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00436a68
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0041688b
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004166e9
push dword [ebp - 0x28]
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x43ca77
mov eax, dword [ebp - 0x30]
push 0x40b0ec
add eax, 0x64
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00436a04
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0043ba50
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0041688b
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.004166e9
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.004166e9
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x43ca77
mov eax, dword [ebp - 0x30]
push 0x40b0ec
add eax, 0x68
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00436a04
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0043ba50
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0041688b
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004166e9
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.004166e9
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x43cadc
lea eax, [ebp - 0x884]
push 0x103
push eax
push dword [ebp - 0x40]
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
neg eax
push eax
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x884]
test eax, eax
je 0x43caae
lea eax, [ebp - 0x884]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x884]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004167eb
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43cadc
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.004166e9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004166e9
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
call fcn.0043ceb5
push dword [ebp - 0x1c]
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x14]
add eax, 0x40
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x474]
test eax, eax
je 0x43cb2d
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x474]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.004167eb
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x54]
lea edi, [eax + 0x50]
cmp ecx, ebx
jne 0x43cb54
xor eax, eax
jmp 0x43cb5c
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp - 0x14]
inc eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x3c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x67c]
test eax, eax
je 0x43cb83
lea eax, [ebp - 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x67c]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.004167eb
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x38]
call fcn.0041688b
mov eax, dword [ebp - 0x14]
add eax, 0x48
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x26c]
test eax, eax
je 0x43cbcc
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.004167eb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 1
push SysReAllocString
mov dword [eax + 0x30], ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x26c]
push eax
push 0x40d830
call fcn.00452291
add esp, 0x10
test eax, eax
je 0x43cc18
push 1
pop eax
cmp dword [ebp - 0x44], eax
jne 0x43cc18
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0043d201
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004166e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004166e9
jmp 0x43cc4a
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x43cc4a
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004166e9
jmp 0x43c62a
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret