Function at 0x419a24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
mov eax, 0x5676ac
push ebx
push esi
push edi
mov esi, 0x566e58
mov edi, dword [ebp + 0xc]
call fcn.00528424
xor edx, edx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], edx
push ecx
lea eax, [ebp - 0x58]
push 0
push eax
lea edx, [esi + 0x14d]
push 0
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x54], eax
test eax, eax
je 0x419ac0
mov word [ebp - 0x40], 8
xor edx, edx
mov eax, 0x177c
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x34]
call fcn.0051100c
cmp dword [ebp - 4], 0
je 0x419a90
mov eax, dword [ebp - 4]
jmp 0x419a96
lea eax, [esi + 0x14f]
mov edx, dword [ebp - 0x54]
call fcn.0044a7e0
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005378b8
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x419fb0
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.005269a8
pop ecx
mov ebx, eax
test eax, eax
jne 0x419b68
push 0x30
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x34]
mov eax, 0x5dd
call fcn.0051100c
cmp dword [ebp - 0xc], 0
je 0x419af6
mov ecx, dword [ebp - 0xc]
jmp 0x419afc
lea ecx, [esi + 0x151]
push ecx
xor eax, eax
mov word [ebp - 0x40], 0x14
mov dword [ebp - 8], eax
mov eax, 0x177d
inc dword [ebp - 0x34]
lea edx, [ebp - 8]
call fcn.0051100c
cmp dword [ebp - 8], 0
je 0x419b23
mov edx, dword [ebp - 8]
jmp 0x419b29
lea edx, [esi + 0x150]
mov eax, dword [0x59bf1c]
pop ecx
mov eax, dword [eax]
call fcn.005376a4
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005378b8
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005378b8
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x419fb0
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
push ecx
push ebx
push eax
lea edx, [esi + 0x152]
push 0
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x54], eax
test eax, eax
je 0x419be7
mov word [ebp - 0x40], 0x20
xor edx, edx
mov eax, 0x177e
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x34]
call fcn.0051100c
cmp dword [ebp - 0x10], 0
je 0x419bb0
mov eax, dword [ebp - 0x10]
jmp 0x419bb6
lea eax, [esi + 0x154]
mov edx, dword [ebp - 0x54]
call fcn.0044a7e0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005378b8
push ebx
call fcn.005269b8
pop ecx
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x419fb0
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xb0]
mov al, byte [ebp + 0x10]
push eax
push edi
push edx
push ecx
lea eax, [ebp - 0x70]
lea edx, [ebp - 0xa0]
push eax
push edx
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x60]
push edx
push ecx
mov eax, dword [ebp - 0x5c]
push eax
push ebx
call fcn.00419274
add esp, 0x34
test eax, eax
je 0x419dca
push 0x30
xor edx, edx
mov word [ebp - 0x40], 0x2c
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x28]
push ecx
xor eax, eax
inc dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x34]
mov eax, edi
lea ecx, [ebp - 0x24]
mov edx, 8
call fcn.00510cb8
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x8c]
mov edx, dword [edx]
call fcn.00406a44
mov ecx, 1
xor edx, edx
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x90]
dec eax
push eax
mov dword [ebp - 0x18], edx
inc dword [ebp - 0x34]
mov edx, 8
mov eax, edi
call fcn.00510cb8
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x80]
mov edx, dword [edx]
call fcn.00406a44
push 0
push 0
push 0x406aa0
mov ecx, 1
push 3
mov dword [ebp - 0x1c], ecx
push ecx
push 8
push 0
call fcn.005265ac
mov dword [ebp - 0x20], eax
add esp, 0x1c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
mov dword [edx], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x84]
mov cl, byte [ebp - 0x7c]
mov byte [edx + 4], cl
inc dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
xor eax, eax
mov ecx, dword [edx]
lea edx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x34]
mov eax, 0x177f
call fcn.0051100c
lea eax, [ebp - 0x14]
mov eax, dword [eax]
pop edx
pop ecx
call fcn.00511db4
cmp dword [ebp - 0x28], 0
je 0x419d1b
mov eax, dword [ebp - 0x28]
jmp 0x419d21
lea eax, [esi + 0x155]
push eax
xor edx, edx
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x2c]
inc dword [ebp - 0x34]
mov eax, 0x5dd
call fcn.0051100c
cmp dword [ebp - 0x2c], 0
je 0x419d42
mov ecx, dword [ebp - 0x2c]
jmp 0x419d48
lea ecx, [esi + 0x156]
mov eax, dword [0x59bf1c]
pop edx
mov eax, dword [eax]
call fcn.005376a4
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005378b8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005378b8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005378b8
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00526184
pop ecx
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005378b8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005378b8
push ebx
call fcn.005269b8
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x419fb0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004199b4
pop ecx
mov eax, dword [ebp - 0x64]
push eax
call fcn.004199b4
pop ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004199b4
pop ecx
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004199b4
pop ecx
push edi
mov eax, dword [ebp - 0x60]
push eax
lea edx, [esi + 0x157]
push edx
mov ecx, dword [0x59ca68]
push ecx
call fcn.0052a4d0
add esp, 0x10
cmp dword [ebp - 0x70], 0
je 0x419e40
cmp dword [ebp - 0x70], 0xffffffff
jne 0x419e31
lea eax, [esi + 0x15e]
push eax
mov edx, dword [0x59ca68]
push edx
call fcn.0052a4d0
add esp, 8
jmp 0x419e56
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00419984
pop ecx
jmp 0x419e56
lea eax, [esi + 0x17f]
push eax
mov edx, dword [0x59ca68]
push edx
call fcn.0052a4d0
add esp, 8
lea ecx, [esi + 0x1a0]
push ecx
mov eax, dword [0x59ca68]
push eax
call fcn.0052a4d0
add esp, 8
cmp dword [ebp - 0x74], 0
je 0x419e9e
cmp dword [ebp - 0x74], 0xffffffff
jne 0x419e8f
lea edx, [esi + 0x1a2]
push edx
mov ecx, dword [0x59ca68]
push ecx
call fcn.0052a4d0
add esp, 8
jmp 0x419eb4
lea eax, [ebp - 0xb0]
push eax
call fcn.00419984
pop ecx
jmp 0x419eb4
lea edx, [esi + 0x1c3]
push edx
mov ecx, dword [0x59ca68]
push ecx
call fcn.0052a4d0
add esp, 8
lea eax, [esi + 0x1e4]
push eax
mov edx, dword [0x59ca68]
push edx
call fcn.0052a4d0
add esp, 8
mov ecx, dword [ebp - 0x64]
cmp byte [ecx], 0
je 0x419eec
mov eax, dword [ebp - 0x64]
push eax
lea edx, [esi + 0x1e6]
push edx
mov ecx, dword [0x59ca68]
push ecx
call fcn.0052a4d0
add esp, 0xc
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
je 0x419f11
mov edx, dword [ebp - 0x68]
cmp byte [edx], 0
je 0x419f11
lea ecx, [esi + 0x1e9]
push ecx
mov eax, dword [0x59ca68]
push eax
call fcn.0052a4d0
add esp, 8
mov edx, dword [ebp - 0x68]
cmp byte [edx], 0
je 0x419f33
mov ecx, dword [ebp - 0x68]
push ecx
lea eax, [esi + 0x1eb]
push eax
mov edx, dword [0x59ca68]
push edx
call fcn.0052a4d0
add esp, 0xc
lea ecx, [esi + 0x1ee]
push ecx
mov eax, dword [0x59ca68]
push eax
call fcn.0052a4d0
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp byte [edx], 0
je 0x419f6a
mov ecx, dword [ebp - 0x6c]
push ecx
lea eax, [esi + 0x1f0]
push eax
mov edx, dword [0x59ca68]
push edx
call fcn.0052a4d0
add esp, 0xc
lea ecx, [esi + 0x1f3]
push ecx
mov eax, dword [0x59ca68]
push eax
call fcn.0052a4d0
add esp, 8
mov edx, dword [ebp - 0x60]
push edx
call fcn.005269b8
pop ecx
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005269b8
pop ecx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.005269b8
pop ecx
push ebx
call fcn.005269b8
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret