Function at 0x45bf0e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], 0
call fcn.00407c30
lea ecx, [esp + 0x38]
call fcn.00407c30
lea ecx, [esp + 0x58]
call fcn.00407c30
mov ebx, dword [ebp + 0xc]
mov edi, 0x47f878
call fcn.0040f6e0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push eax
call fcn.0044baed
sub esp, 0x10
mov edi, eax
mov esi, esp
call fcn.0040cc90
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00456f4a
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
inc dword [ecx]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00456d59
test al, al
jne 0x45bfc5
mov eax, dword [esp + 0x18]
push 0
push 2
call fcn.0040bc90
jmp 0x45c2ca
lea edx, [esp + 0x48]
push edx
call fcn.004373d7
mov byte [esp + 0x13], al
test al, al
jne 0x45c008
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x45c002
mov eax, dword [esp + 0x18]
push 0
push 3
call fcn.0040bc90
jmp 0x45c2ca
mov eax, dword [esp + 0x20]
jmp 0x45c00c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x5c]
or edx, 0x20019
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45c052
cmp byte [esp + 0x13], 0
jne 0x45c040
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push 0
push 1
call fcn.0040bc90
jmp 0x45c2ca
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x30]
push edx
push 0
push eax
call fcn.0044baed
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
push 0
test eax, eax
je 0x45c0ab
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
call fcn.0040bc90
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
cmp byte [esp + 0x13], 0
jne 0x45c2ca
jmp 0x45c2c3
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
call fcn.0040bce0
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 6
ja case.0x45c0c7.5
jmp dword [eax*4 + 0x45c2f2]
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
push eax
call fcn.0044baed
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
test eax, eax
jne 0x45c13a
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov edi, esi
mov word [esi + eax*2], cx
call fcn.0040f6e0
push esi
call fcn.00412979
add esp, 4
jmp 0x45c2af
mov eax, dword [esp + 0x18]
push 0
push 0xfffffffffffffffe
call fcn.0040bc90
push esi
call fcn.00412979
add esp, 4
jmp 0x45c2af
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
push eax
call fcn.0044baed
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
test eax, eax
jne 0x45c13a
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov word [esi + eax*2], cx
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jbe 0x45c1f6
cmp word [esi + ecx*2 - 2], 0
jne 0x45c1c4
dec ecx
mov dword [esp + 0x14], ecx
xor eax, eax
test ecx, ecx
jbe 0x45c1e7
lea esp, [esp]
cmp word [esi + eax*2], 0
jne 0x45c1e2
mov edx, 0xa
mov word [esi + eax*2], dx
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
jb 0x45c1ce
cmp word [esi + eax*2 - 2], 0xa
jne 0x45c1f6
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov edi, esi
call fcn.0040f6e0
push esi
call fcn.00412979
add esp, 4
jmp 0x45c2af
mov edx, dword [esi + 4]
mov dword [esp + 0x14], 4
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0
push eax
call fcn.0044baed
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jge 0x45c247
fadd qword [0x487110]
mov esi, ebx
fstp qword [esp + 0x2c]
call fcn.0040bd20
fld qword [esp + 0x2c]
fstp qword [ebx]
mov dword [ebx + 8], 3
jmp 0x45c2af
mov edx, dword [esp + 0x14]
push edx
push ebx
call fcn.0045768c
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x14]
push edx
push eax
push 0
push 0
push ecx
call fcn.0044baed
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
test eax, eax
je 0x45c2af
mov esi, ebx
call fcn.0040bd20
mov dword [ebx + 8], 1
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
push 0
push 0xfffffffffffffffe
call fcn.0040bc90
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
cmp byte [esp + 0x13], 0
jne 0x45c2ca
mov edx, dword [esp + 0x20]
push edx
call esi
lea ecx, [esp + 0x58]
call fcn.0040c3f0
lea ecx, [esp + 0x38]
call fcn.0040c3f0
lea ecx, [esp + 0x48]
call fcn.0040c3f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8