Function at 0x42828a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x288], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
jne 0x4282df
cmp esi, ebx
je 0x4282df
push 0x57
pop eax
jmp 0x4284b6
mov edx, 0x109
lea ecx, [esp + 0x184]
lea eax, [esp + 0x160]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
call fcn.00429b54
lea ecx, [esp + 0x54]
lea eax, [esp + 0x30]
mov dword [esp + 0x160], 0x4066a8
call fcn.00429b54
push edi
lea eax, [esp + 0x164]
push eax
mov dword [esp + 0x38], 0x4066a8
mov dword [esp + 0x20], ebx
call fcn.00429c6e
mov edi, eax
cmp edi, ebx
jne 0x42848f
cmp esi, ebx
jne 0x428364
cmp dword [esp + 0x14], ebx
jne 0x428364
push ebx
push ebx
push dword [esp + 0x30]
push ebx
push dword [esp + 0x180]
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
jmp 0x42848f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
push ebx
push dword [esp + 0x180]
push dword [esp + 0x38]
call esi
mov edi, eax
cmp edi, ebx
jne 0x42848f
cmp dword [esp + 0x20], 2
je 0x4283d0
cmp dword [esp + 0x20], 7
je 0x4283d0
cmp dword [esp + 0x20], 1
je 0x4283d0
cmp dword [esp + 0x1c], ebx
jne 0x4283b1
mov eax, dword [esp + 0x10]
jmp 0x42843e
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x180]
push dword [esp + 0x38]
call esi
jmp 0x42835d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
call fcn.00429ddb
mov edi, eax
cmp edi, ebx
jne 0x42848f
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x44]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x180]
push dword [esp + 0x38]
call esi
mov edi, eax
cmp edi, ebx
jne 0x42848f
mov edx, dword [esp + 0x10]
dec edx
lea eax, [esp + 0x30]
call fcn.00429d0d
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x34]
call fcn.00429ca1
mov edi, eax
cmp edi, ebx
jne 0x42848f
mov eax, dword [esp + 0x18]
inc eax
cmp dword [esp + 0x1c], ebx
jne 0x428446
add eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x42848f
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
shr ecx, 1
cmp eax, ecx
jbe 0x428459
mov edi, 0xea
jmp 0x42848b
mov edx, dword [esp + 0x10]
dec edx
lea eax, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00429d0d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x38]
call fcn.00429d27
mov edi, eax
cmp edi, ebx
jne 0x42848f
mov eax, dword [esp + 0x18]
add eax, eax
mov dword [esi], eax
mov esi, 0x4066a8
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.00429b9e
lea ecx, [esp + 0x160]
mov dword [esp + 0x160], esi
call fcn.00429b9e
mov eax, edi
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret 0x18