Function at 0x45bee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48292f
mov eax, dword fs:[0]
push eax
mov eax, 0xb260
call fcn.00462c30
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb25c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb258], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb240], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb268], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xb260], 4
mov dword [ebp - 0xb24c], 0
call fcn.0045ca40
mov ecx, dword [0x4b0b8c]
mov edx, 0x11c66fa0
test al, al
cmove ecx, edx
mov dword [0x4b0b8c], ecx
call fcn.0045ca60
test al, al
jne 0x45bfa9
push 0x28
call fcn.004601e0
add esp, 4
mov edi, eax
xor esi, esi
call fcn.00461e71
add eax, dword [0x4af2c0]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x45bf83
mov eax, dword [edi + 0x24]
push edi
mov dword [0x4af2c0], eax
call fcn.0046208f
add esp, 4
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xb244], edi
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 0xc
idiv ecx
mov byte [ebp - 4], 1
cmp edx, 0xb
jne 0x45c04a
xor eax, eax
push 0xb220
push eax
mov word [ebp - 0xb234], ax
lea eax, [ebp - 0xb232]
push eax
call fcn.00462e00
add esp, 0xc
xor ebx, ebx
xor esi, esi
lea ebx, [ebx]
xor eax, eax
test ebx, ebx
je 0x45c02a
test eax, eax
je 0x45c02a
lea ecx, [esi + eax]
lea edx, [ebp - 0xb234]
lea edx, [edx + ecx*2]
lea ecx, [esi + eax]
mov cx, word [ebp + ecx*2 - 0xb362]
inc cx
add cx, word [edx - 2]
mov word [edx], cx
inc eax
cmp eax, 0x97
jl 0x45c002
add esi, 0x97
inc ebx
cmp esi, 0x5911
jl 0x45c000
movsx eax, word [ebp - 0x14]
mov dword [0x4af2c0], eax
mov eax, dword [ebp + 0x18]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x45c0fc
push 0x4918d4
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xb248]
push eax
call fcn.00402d20
add esp, 0xc
mov ecx, dword [eax]
lea esi, [edi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 2
cmp edx, esi
je 0x45c0d9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45c0c4
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x45c0c4
push edx
call fcn.00403ee0
add esp, 4
mov dword [ebp - 0xb23c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45c0b9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xb23c]
lea edi, [eax + 0x10]
mov dword [ebp - 0xb244], edi
jmp 0x45c0d9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0xb244]
call fcn.00408620
mov edi, dword [ebp - 0xb244]
mov edx, dword [ebp - 0xb248]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb23c], esi
mov byte [ebp - 4], 3
call fcn.0045c9b0
test al, al
jne 0x45c145
mov eax, dword [0x4af2c0]
mov ecx, 1
cmp eax, ecx
jle 0x45c13f
lea ecx, [ecx]
cdq
idiv ecx
mov eax, dword [0x4af2c0]
inc ecx
add ecx, edx
cmp ecx, eax
jl 0x45c130
mov dword [0x4af2c0], ecx
push 0
push dword [ebp - 0xb240]
lea eax, [ebp - 0xb26c]
push eax
call fcn.0045a3f0
push eax
lea eax, [ebp - 0xb244]
push eax
lea eax, [ebp - 0xb254]
push eax
mov byte [ebp - 4], 4
call fcn.00402c60
add esp, 0x18
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0xb240], eax
mov dword [ebp - 0xb248], ecx
cmp eax, ecx
je 0x45c1f2
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x45c1dd
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x45c1dd
push dword [ebp - 0xb240]
call fcn.00403ee0
add esp, 4
mov dword [ebp - 0xb240], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x45c1d2
mov esi, dword [ebp - 0xb248]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xb240]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb23c], esi
jmp 0x45c1f2
push dword [edx - 0xc]
lea ecx, [ebp - 0xb23c]
push edx
call fcn.00408620
mov esi, dword [ebp - 0xb23c]
mov edx, dword [ebp - 0xb254]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c215
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb26c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c238
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xb250]
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0xb268]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45c2ba
lea eax, [ebp - 0xb260]
push eax
lea eax, [ebp - 0xb24c]
push eax
lea eax, [ebp - 0xb264]
push eax
mov eax, dword [ebp - 0xb258]
push 0
push dword [eax]
push dword [ebp - 0xb250]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xb24c]
push dword [ebp - 0xb250]
mov ebx, eax
mov eax, dword [ebp - 0xb25c]
mov dword [eax], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x45c2b7
cmp dword [ebp - 0xb264], 4
jne 0x45c2b7
mov byte [ebp - 0xb235], 1
or ebx, 0xffffffff
jmp 0x45c2c1
or ebx, 0xffffffff
mov byte [ebp - 0xb235], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c2de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c2fb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x18]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x45c31c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xb235]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret