Function at 0x45e0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e4b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
cmp dword [ebp - 8], 0
sete byte [ebp - 0x1c]
cmp byte [ebp - 0x1c], 0
jne 0x45e138
mov eax, dword [ebp - 8]
mov edx, dword [0x45dbd8]
call fcn.00405710
cmp dword [ebp - 4], 0
sete byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
jne 0x45e154
mov eax, dword [ebp - 4]
mov edx, dword [0x45dc24]
call fcn.00405710
mov al, byte [ebp - 0x1c]
and al, byte [ebp - 0x1d]
jne 0x45e493
xor eax, eax
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x45e48c
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0x10000
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00402788
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x45e4c8
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
jne 0x45e1b7
mov edx, dword [ebp - 0x10]
add edx, edx
mov dword [ebp - 0x10], edx
cmp eax, 0xea
je 0x45e17a
test eax, eax
je 0x45e1cc
call fcn.00403c20
jmp 0x45e493
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x18]
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
dec eax
test eax, eax
jl 0x45e3df
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 4], 0
je 0x45e1f7
cmp dword [esi + 0xc], 0xe6
je 0x45e1fb
xor eax, eax
jmp 0x45e1fd
mov al, 1
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x45e215
cmp dword [ebp - 8], 0
je 0x45e215
cmp dword [esi + 0xc], 0xe8
je 0x45e219
xor eax, eax
jmp 0x45e21b
mov al, 1
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x19]
or al, byte [ebp - 0x1a]
je 0x45e3d0
mov edi, dword [esi + 8]
add edi, esi
mov eax, dword [esi + 0x20]
dec eax
test eax, eax
jl 0x45e3b6
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
cmp dword [edi + 4], 0x310
sete byte [ebp - 0x1b]
cmp byte [ebp - 0x1b], 0
jne 0x45e260
cmp dword [edi + 4], 0x324
je 0x45e264
xor eax, eax
jmp 0x45e266
mov al, 1
or al, byte [ebp - 0x1b]
je 0x45e3a7
mov ebx, dword [esi + 4]
add ebx, esi
cmp byte [ebp - 0x19], 0
je 0x45e297
mov eax, dword [esi + 0x28]
dec eax
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x45dc24]
call fcn.00405704
add esp, 4
jmp 0x45e2b2
mov eax, dword [esi + 0x28]
dec eax
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x45dbd8]
call fcn.00405704
add esp, 4
mov eax, dword [esi + 0x28]
sub eax, 2
test eax, eax
jl 0x45e3a7
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebx]
add eax, ebx
add eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [ebp - 0x19], 0
je 0x45e36e
mov edx, dword [ebp - 0x18]
add edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + edx*8], eax
test eax, eax
je 0x45e354
lea eax, [ebp - 0x34]
mov edx, dword [ebx + 0x10]
add edx, ebx
call fcn.00404978
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
add eax, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
lea eax, [ecx + eax*8 + 4]
call fcn.004043dc
mov eax, dword [ebp - 0x18]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 4]
mov edx, 0x45e4d8
call fcn.00404560
je 0x45e393
mov eax, dword [ebp - 0x18]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov edx, dword [edx + eax*8 + 4]
mov eax, dword [ebp - 0x18]
add eax, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
lea eax, [ecx + eax*8 + 4]
mov ecx, 0x45e4e8
call fcn.00404460
jmp 0x45e393
mov eax, dword [ebp - 0x18]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
lea eax, [edx + eax*8 + 4]
mov edx, 0x45e4f8
call fcn.004041a8
jmp 0x45e393
cmp byte [ebp - 0x1b], 0
je 0x45e384
mov edx, dword [ebp - 0x18]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
jmp 0x45e393
mov edx, dword [ebp - 0x18]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebx]
add eax, ebx
mov ebx, dword [eax]
add ebx, eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x30]
jne 0x45e2cb
add edi, 0x28
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x45e246
mov al, byte [ebp - 0x1c]
or al, byte [ebp - 0x1a]
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 0x1d]
or al, byte [ebp - 0x19]
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x1c]
and al, byte [ebp - 0x1d]
jne 0x45e3df
mov eax, dword [esi]
add eax, esi
mov esi, eax
dec dword [ebp - 0x28]
jne 0x45e1e8
cmp dword [ebp - 4], 0
je 0x45e3ed
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x45e3ff
cmp dword [ebp - 8], 0
je 0x45e3fb
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x45e3ff
xor eax, eax
jmp 0x45e401
mov al, 1
mov byte [ebp - 0xa], al
cmp dword [ebp - 8], 0
setne al
and al, byte [ebp - 9]
je 0x45e476
cmp byte [ebp - 9], 0
je 0x45e476
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405550
test eax, eax
jl 0x45e476
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x10]
lea ebx, [ebx + ebx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x45e46e
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + ebx*4 + 4]
mov eax, esi
xor ecx, ecx
call fcn.0045eb64
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [eax + ebx*4 + 8]
mov ecx, dword [0x45db94]
call fcn.0040574c
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x45e42f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e493
mov eax, dword [ebp - 0x24]
call fcn.00402768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e4be
lea eax, [ebp - 0x38]
mov edx, dword [0x45db94]
call fcn.00405710
lea eax, [ebp - 0x34]
call fcn.00404860
ret