Function at 0x43003b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc34
mov eax, 0x4cd5c9
call fcn.004ae989
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc1c], eax
xor eax, eax
xor ebx, ebx
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
mov esi, ecx
push ebx
mov edi, 0x400
push eax
mov dword [ebp - 0xc38], esi
mov dword [ebp - 0xc20], 0x200
mov dword [ebp - 0xc18], edi
mov dword [ebp - 0xc14], ebx
call fcn.004ae4c0
add esp, 0xc
mov dword [ebp - 0xc24], ebx
call fcn.0048b151
push eax
lea ecx, [ebp - 0xc40]
call fcn.00402821
push 0x800
lea eax, [ebp - 0xc10]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ae4c0
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.004ae4c0
add esp, 0x18
xor eax, eax
mov edi, esi
call fcn.00411c55
lea eax, [ebp - 0xc28]
push eax
push 9
push ebx
push dword [ebp - 0xc1c]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x4302f5
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc28]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x4302e9
cmp dword [ebp - 0xc24], ebx
jbe 0x4302e9
lea eax, [ebp - 0xc18]
push eax
push ebx
lea eax, [ebp - 0xc34]
push eax
push ebx
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc14]
push dword [ebp - 0xc28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0xc14]
mov edi, eax
cmp edi, 0x103
je 0x4302e9
cmp edi, 0xea
je 0x4302c0
cmp dword [ebp - 0xc18], 0x7fd
ja 0x4302c0
cmp edi, ebx
jne 0x4302c0
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xc34]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x4302c0
call fcn.0048b151
push eax
lea ecx, [ebp - 0xc30]
call fcn.00402821
lea ecx, [ebp - 0xc2c]
call fcn.00402846
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 1
call fcn.0040274c
lea eax, [ebp - 0xc30]
push eax
lea ecx, [ebp - 0xc1c]
call fcn.00402582
mov esi, dword [ebp - 0xc3c]
mov byte [ebp - 4], 2
cmp byte [esi + 0x20], bl
je 0x430234
lea edi, [ebp - 0xc1c]
call fcn.0042ff07
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ebp - 0xc2c]
call fcn.0040260d
lea eax, [ebp - 0xc1c]
push eax
add esi, 4
call fcn.0043030d
mov ecx, dword [ebp - 0xc38]
lea eax, [ebp - 0xc30]
call fcn.00411c1a
push 0x800
lea eax, [ebp - 0xc10]
push ebx
push eax
mov dword [ebp - 0xc18], 0x400
mov dword [ebp - 0xc20], 0x200
xor edi, edi
call fcn.004ae4c0
mov ecx, dword [ebp - 0xc1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402883
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xc2c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0xc30]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x4302d7
inc dword [ebp - 0xc14]
mov eax, 0x7fe
mov dword [ebp - 0xc20], eax
mov dword [ebp - 0xc18], eax
mov eax, dword [ebp - 0xc14]
cmp eax, dword [ebp - 0xc24]
jb 0x43013b
push dword [ebp - 0xc28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc40]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, edi
call fcn.004aea0c
ret 8