Function at 0x43e4dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042b8
xor eax, eax
push ebp
push 0x43e59f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403e08
lea eax, [ebp - 0xc]
push eax
push 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x43e5b8
call fcn.004043b0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004040c8
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404328
mov eax, dword [ebp - 0x3c]
call fcn.004042c8
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x43e5b8
call fcn.004043b0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404328
mov eax, dword [ebp - 0x40]
call fcn.0043e0c8
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43e567
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x3fff
call fcn.004026d4
mov edi, eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0x18]
call fcn.004026d4
mov esi, eax
mov dword [ebp - 0x14], 0x3fff
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x43e537
lea eax, [ebp - 0x24]
call fcn.00403e08
cmp dword [ebp - 0x1c], 4
jne 0x43e380
mov dword [ebp - 0x30], esi
push 0x43e5c4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x44]
mov eax, 8
call fcn.00407c70
push dword [ebp - 0x44]
push 0x43e5d0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.00407c20
push dword [ebp - 0x48]
push 0x43e5dc
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404188
jmp 0x43e432
cmp dword [ebp - 0x1c], 3
jne 0x43e3eb
cmp dword [ebp - 0x18], 0
jne 0x43e39e
lea eax, [ebp - 0x24]
mov edx, 0x43e5e8
call fcn.00403ea0
jmp 0x43e432
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x43e432
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
movzx eax, byte [esi + eax]
mov edx, 2
call fcn.00407c48
push dword [ebp - 0x4c]
push 0x43e5fc
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404188
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x43e3b5
jmp 0x43e432
cmp dword [ebp - 0x1c], 7
jne 0x43e428
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x43e41c
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
cmp byte [esi + eax], 0
jne 0x43e414
mov eax, dword [ebp - 0x2c]
mov byte [esi + eax], 0x20
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x43e404
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.00404000
jmp 0x43e432
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.00404000
cmp byte [edi], 0
jne 0x43e446
lea eax, [ebp - 0x28]
mov edx, 0x43e608
call fcn.00403ea0
jmp 0x43e450
lea eax, [ebp - 0x28]
mov edx, edi
call fcn.00404000
mov eax, dword [ebp - 0x1c]
cmp eax, 7
ja case.default.0x43e45c
jmp dword [eax*4 + 0x43e463]
lea eax, [ebp - 0x20]
mov edx, 0x43e618
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e62c
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e640
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e660
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e678
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e68c
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e6a4
call fcn.00403ea0
jmp case.default.0x43e45c
lea eax, [ebp - 0x20]
mov edx, 0x43e6b8
call fcn.00403ea0
cmp dword [ebp - 0x24], 0
jne 0x43e50c
lea eax, [ebp - 0x24]
mov edx, 0x43e5fc
call fcn.00403ea0
push dword [ebp - 0x34]
push 0x43e6c8
push dword [ebp - 0x28]
push 0x43e6d4
push dword [ebp - 0x20]
push 0x43e6d4
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404188
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004026f4
test ebx, ebx
je 0x43e2cb
cmp dword [ebp - 0x34], 0
je 0x43e557
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
call fcn.00403e5c
mov eax, edi
call fcn.004026f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e5a6
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00403e2c
lea eax, [ebp - 0x34]
call fcn.00403e08
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00403e2c
lea eax, [ebp - 4]
call fcn.00403e08
ret