Function at 0x418d1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10034
call fcn.00423f50
mov eax, dword [0x46b880]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10034], eax
mov dword [ebp - 0x10020], ecx
test edi, edi
jne 0x418d5a
xor al, al
jmp 0x418fac
push ebx
xor ebx, ebx
mov dword [edi], ebx
test esi, esi
je 0x418d65
mov dword [esi], ebx
lea edx, [ebp - 0x1002c]
push edx
push ebx
lea edx, [ebp - 0x10030]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418fa9
mov ecx, dword [ebp - 0x1002c]
test ecx, ecx
je 0x418fa9
inc eax
mov dword [ebp - 0x10028], eax
cmp dword [ebp - 0x10030], eax
je 0x418daf
cmp dword [ebp - 0x10030], 2
jne 0x418fa9
lea eax, [ecx + 2]
push eax
call fcn.0042d6fb
mov dword [ebp - 0x10024], eax
pop ecx
test eax, eax
je 0x418fa9
lea ecx, [ebp - 0x1002c]
push ecx
push eax
push ebx
push ebx
push dword [ebp - 0x10020]
push dword [ebp - 0x10034]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418f7e
mov ecx, dword [ebp - 0x10024]
xor edx, edx
mov eax, dword [ebp - 0x1002c]
push 4
push 0x4523e0
push ecx
mov word [ecx + eax], dx
call fcn.0042ded1
add esp, 0xc
test eax, eax
jne 0x418ed3
lea eax, [ebp - 0x10028]
mov dword [ebp - 0x10028], 0x8000
push eax
lea eax, [ebp - 0x10004]
push eax
push dword [ebp - 0x10024]
call fcn.0042d325
sub eax, 4
pop ecx
push eax
mov eax, dword [ebp - 0x10024]
add eax, 8
push eax
call fcn.00403030
add esp, 0x10
test eax, eax
jne 0x418f7e
push str.fc_1A2Brown3Fox4Jumped5Over6A7Lazy8Dog
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x10020], 0x8000
push eax
lea eax, [ebp - 0x8004]
push eax
push dword [ebp - 0x10028]
lea eax, [ebp - 0x10004]
push eax
call fcn.00403010
add esp, 0x14
test eax, eax
jne 0x418f7e
mov eax, dword [ebp - 0x10020]
cmp eax, 0x8000
jae 0x418fbc
mov byte [ebp + eax - 0x8004], bl
lea eax, [ebp - 0x8004]
push eax
call fcn.00418b9d
mov dword [edi], eax
pop ecx
test eax, eax
je 0x418f7b
test esi, esi
je 0x418f79
mov eax, dword [ebp - 0x10020]
jmp 0x418f74
push 5
push 0x4523ec
push dword [ebp - 0x10024]
call fcn.0042ded1
add esp, 0xc
test eax, eax
jne 0x418f8e
push dword [ebp - 0x10024]
lea ecx, [ebp - 0x1001c]
mov dword [ebp - 0x10020], ebx
call fcn.004090db
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x1001c]
push eax
call fcn.00418ac7
add esp, 0xc
test eax, eax
je 0x418f30
cmp dword [ebp - 0x10020], ebx
jne 0x418f36
mov byte [ebp - 0x10028], bl
lea ecx, [ebp - 0x1001c]
call fcn.004086f1
cmp byte [ebp - 0x10028], bl
je 0x418f7e
push dword [ebp - 0x10020]
call fcn.0042d262
pop ecx
push dword [ebp - 0x10020]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
test eax, eax
je 0x418f7b
test esi, esi
je 0x418f79
push eax
call fcn.0042d325
pop ecx
inc eax
mov dword [esi], eax
mov eax, dword [edi]
test eax, eax
setne bl
push dword [ebp - 0x10024]
call fcn.0042d6f6
pop ecx
mov al, bl
jmp 0x418fab
mov eax, dword [ebp - 0x10024]
mov dword [edi], eax
test esi, esi
je 0x418fa4
mov ecx, dword [ebp - 0x1002c]
shr ecx, 1
mov dword [esi], ecx
xor eax, eax
inc eax
jmp 0x418fab
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00423dc5
mov esp, ebp
pop ebp
ret
call fcn.004240a0
int3