Function at 0x430433
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc34
mov eax, 0x4d5bd6
call fcn.004b6799
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.004b62d0
add esp, 0xc
mov dword [ebp - 0xc24], ebx
call fcn.0049219b
push eax
lea ecx, [ebp - 0xc40]
call fcn.00402802
push 0x800
lea eax, [ebp - 0xc10]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004b62d0
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.004b62d0
add esp, 0x18
xor eax, eax
mov edi, esi
call fcn.00412035
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 0x4306ed
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 0x4306e1
cmp dword [ebp - 0xc24], ebx
jbe 0x4306e1
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 0x4306e1
cmp edi, 0xea
je 0x4306b8
cmp dword [ebp - 0xc18], 0x7fd
ja 0x4306b8
cmp edi, ebx
jne 0x4306b8
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 0x4306b8
call fcn.0049219b
push eax
lea ecx, [ebp - 0xc30]
call fcn.00402802
lea ecx, [ebp - 0xc2c]
call fcn.00402827
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 1
call fcn.0040272d
lea eax, [ebp - 0xc30]
push eax
lea ecx, [ebp - 0xc1c]
call fcn.004022fa
mov esi, dword [ebp - 0xc3c]
mov byte [ebp - 4], 2
cmp byte [esi + 0x20], bl
je 0x43062c
lea edi, [ebp - 0xc1c]
call fcn.004302ff
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ebp - 0xc2c]
call fcn.004025ee
lea eax, [ebp - 0xc1c]
push eax
add esi, 4
call fcn.00430705
mov ecx, dword [ebp - 0xc38]
lea eax, [ebp - 0xc30]
call fcn.00411ffa
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.004b62d0
mov ecx, dword [ebp - 0xc1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402845
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xc2c]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0xc30]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x4306cf
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 0x430533
push dword [ebp - 0xc28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc40]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, edi
call fcn.004b681c
ret 8