Function at 0x433b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004c
call fcn.00453650
push ebx
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.0040e07f
lea ecx, [esp + 0x30]
call fcn.0040e07f
lea ecx, [esp + 0x3c]
call fcn.0040e07f
mov edi, dword [ebp + 0xc]
push 0x469cee
call fcn.0040ff22
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [ebp + 8]
xor eax, eax
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
push ecx
push ecx
mov esi, esp
push eax
call fcn.0040e09c
call fcn.004336f7
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
sub esp, 0xc
lea edi, [esp + 0x44]
mov esi, esp
call fcn.0040e0ee
call fcn.004337e2
test al, al
jne 0x433ba8
push ebx
push 2
pop ecx
mov eax, dword [esp + 0x14]
call fcn.0041a511
jmp 0x433e43
cmp dword [esp + 0x20], ebx
je 0x433bd0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x433bca
push ebx
push 3
jmp 0x433b99
mov eax, dword [esp + 0x18]
jmp 0x433bd4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
or ecx, 0x20019
push ecx
push ebx
push dword [esp + 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x433c0a
cmp dword [esp + 0x20], ebx
je 0x433c04
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
push ebx
inc ecx
jmp 0x433b9a
mov ecx, dword [ebp + 8]
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
xor eax, eax
push ebx
inc eax
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x433c42
mov eax, dword [esp + 0x10]
push ebx
or ecx, 0xffffffff
jmp 0x433e26
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, esi
mov dword [esi + 0x258], edx
call fcn.0041a53e
cmp edx, ebx
jbe 0x433e20
cmp edx, 2
jbe 0x433dd8
cmp edx, 3
je 0x433d68
push 4
pop eax
cmp edx, eax
je 0x433d1b
cmp edx, 7
jne 0x433e20
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x10054]
push eax
push ebx
xor eax, eax
push ebx
inc eax
mov dword [esp + 0x1c], 0xffff
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x433d12
mov edx, dword [esp + 0xc]
cmp edx, ebx
mov byte [esp + edx + 0x10050], bl
jbe 0x433cfd
cmp byte [esp + edx + 0x1004f], bl
jne 0x433cd6
dec edx
mov dword [esp + 0xc], edx
xor eax, eax
cmp edx, ebx
jbe 0x433cef
lea ecx, [esp + eax + 0x10050]
cmp byte [ecx], bl
jne 0x433cea
mov byte [ecx], 0xa
inc eax
cmp eax, edx
jb 0x433cdc
lea eax, [esp + eax + 0x1004f]
cmp byte [eax], 0xa
jne 0x433cfd
mov byte [eax], bl
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10050]
push eax
call fcn.0040ff22
jmp 0x433e2b
mov eax, dword [esp + 0x10]
jmp 0x433e22
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
xor eax, eax
push ebx
inc eax
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
push eax
push dword [esp + 0x28]
call edi
fild dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
test eax, eax
jge 0x433d56
fadd qword [0x46d7e8]
mov esi, dword [ebp + 0xc]
push ecx
push ecx
fstp qword [esp]
call fcn.0040ff09
jmp 0x433e2b
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
xor eax, eax
push ebx
inc eax
mov dword [esp + 0x1c], 0xffff
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x433d12
mov eax, dword [esp + 0xc]
lea eax, [eax + eax + 1]
push eax
call fcn.0044df46
pop ecx
mov esi, eax
push ebx
mov byte [esi], bl
push dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
mov ebx, esi
call fcn.0040d975
mov edi, dword [ebp + 0xc]
add esp, 0xc
push esi
call fcn.0040ff22
push esi
call fcn.0044dfb0
pop ecx
xor ebx, ebx
jmp 0x433e2b
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x10054]
push eax
push ebx
xor eax, eax
push ebx
inc eax
mov dword [esp + 0x1c], 0xffff
call fcn.004059cd
mov esi, eax
call fcn.0040f8e0
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x433d12
mov eax, dword [esp + 0xc]
mov byte [esp + eax + 0x10050], bl
jmp 0x433cfd
mov eax, esi
push ebx
push 0xfffffffffffffffe
pop ecx
call fcn.0041a511
push dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [esp + 0x20], ebx
je 0x433e43
push dword [esp + 0x18]
call esi
push dword [esp + 0x3c]
call fcn.0044dfb0
pop ecx
push dword [esp + 0x30]
call fcn.0044dfb0
pop ecx
push dword [esp + 0x1c]
call fcn.0044dfb0
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8