Function at 0x445c88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x445f50
push edx
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x13c
mov dword [ebp - 0x148], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14c], esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x124]
mov dword [edi], 0
mov dword [edi + 4], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x12c], 0xffffffff
push dword [ebp + 0xc]
call fcn.00422718
mov dword [ebp - 4], 0
push 0x100
mov ecx, 0x4805f0
push ecx
call fcn.0042c3a8
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
add eax, eax
mov dword [ebp - 0x140], edx
call fcn.00439214
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x124]
call fcn.0040b7dc
lea edx, [ebp - 0x12c]
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push 0
push eax
push esi
call sub.ADVAPI32.DLL_RegQueryValueExW
mov ebx, eax
add esp, 8
cmp ebx, 0xea
jne 0x445da4
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x1c]
shr edx, 1
push edx
mov ecx, 0x4805f0
push ecx
call fcn.0042b634
lea eax, [ebp - 0x124]
call fcn.0040b7dc
lea edx, [ebp - 0x12c]
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push 0
push eax
push esi
call sub.ADVAPI32.DLL_RegQueryValueExW
mov ebx, eax
add esp, 0xc
jmp 0x445dc3
test ebx, ebx
jne 0x445dc3
lea edx, [ebp - 0x144]
push edx
mov ecx, dword [ebp - 0x1c]
shr ecx, 1
push ecx
mov edx, 0x4805f0
push edx
call fcn.0042b634
add esp, 0xc
push ebx
mov edx, 0x445f5c
mov ecx, 0x47fb90
push edx
mov eax, 0x261
push 0
push ecx
push 0x16
call fcn.00445200
cmp dword [ebp - 0x12c], 7
sete dl
mov ecx, 0x445f68
push edx
push ecx
push 0
call fcn.00410e48
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0x18]
sete cl
mov edx, 0x445f98
push ecx
push edx
push 0
call fcn.00410e48
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x144]
dec edx
push edx
mov edx, 0x4805f0
push edx
call fcn.0042b634
add esp, 0xc
cmp dword [ebp - 0x144], 0
je 0x445e74
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x140]
lea edx, [edx + ecx*2]
cmp word [edx - 2], 0
mov esi, dword [ebp - 0x144]
jne 0x445e74
lea eax, [ebp - 0x144]
mov esi, 0x4805f0
push eax
mov ebx, dword [ebp - 0x144]
lea ecx, [ebx - 1]
push ecx
push esi
call fcn.0042b634
add esp, 0xc
push dword [ebp - 0x140]
mov edx, 0x481e20
push dword [ebp - 0x144]
push edx
push 1
call fcn.0044c8d8
mov ecx, 0x4712a0
push edi
mov dword [ebp - 0x13c], eax
push dword [ebp - 0x13c]
mov dword [ebp - 0x138], edx
push ecx
call fcn.0041ed54
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 0x134], eax
xor ebx, ebx
mov dword [ebp - 0x130], edx
add esp, 0xc
cmp dword [ebp - 0x134], ebx
je 0x445ef4
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x138]
lea esi, [ecx + ebx*8]
push dword [edx + ebx*8 + 4]
mov edi, ebx
push dword [edx + ebx*8]
call fcn.004456b8
inc ebx
mov dword [esi], eax
mov dword [esi + 4], edx
cmp ebx, dword [ebp - 0x134]
jb 0x445ec9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc]
push 0xffffffffffffffff
push ecx
push 0x4821b0
call fcn.00421814
add esp, 0xc
call fcn.00445f18
jmp 0x445f2b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x148]
mov esp, ebp
pop ebp
ret 0x10