Function at 0x41b8f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577af0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5daf20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x5aef08
mov dword [ebp - 4], 0
push str.Server
push dword [ebp + 8]
mov edx, SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.00420ad0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x41b95f
lea eax, [ebp - 0x14]
lea ecx, [edi + 0x224]
push eax
call fcn.004016d0
jmp 0x41b9c8
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0xcc]
call fcn.004193c0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x41b98c
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x224]
push eax
call fcn.004016d0
jmp 0x41b9ab
push 0x96
call fcn.00434bde
test eax, eax
je 0x41b9ab
push 0x96
lea ecx, [edi + 0x224]
push eax
call fcn.00404f10
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 0x41b9c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5aef08
push str.ReportsPath
push dword [ebp + 8]
mov edx, SysReAllocStringLen
lea ecx, [ebp - 0x10]
call fcn.00420ad0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x41ba03
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x228]
push eax
call fcn.004016d0
jmp 0x41ba6c
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0xcc]
call fcn.004193f0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x41ba30
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x228]
push eax
call fcn.004016d0
jmp 0x41ba4f
push 0x97
call fcn.00434bde
test eax, eax
je 0x41ba4f
push 0x97
lea ecx, [edi + 0x228]
push eax
call fcn.00404f10
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ba6c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x204]
mov edx, dword [ebp + 8]
push ecx
mov ecx, SysReAllocStringLen
mov dword [ebp - 0x18], eax
call fcn.004208b0
mov esi, eax
add esp, 4
test esi, esi
je 0x41bac2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xffff
push str.LullTime
push 0
push esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x41babb
mov eax, dword [ebp - 0x20]
jmp 0x41bac5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x204], eax
call fcn.00427841
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41bae7
push 0x80004005
call fcn.004017e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x71
mov byte [ebp - 4], 5
call fcn.00434bde
test eax, eax
je 0x41bb11
push 0x71
push eax
lea ecx, [ebp - 0x18]
call fcn.00404f10
mov esi, dword [ebp - 0x18]
push esi
call fcn.005489cc
add esi, 0xfffffff0
mov dword [edi + 0x1f8], eax
add esp, 4
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bb3d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bb5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bb7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41bb9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4