Function at 0x53e4b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64d5a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [esp + 0x148]
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ebx
mov eax, str.SoftwareDownloadManagerGrabberStsIncludeFilters
jne 0x53e4ef
mov eax, str.SoftwareDownloadManagerGrabberStsExcludeFilters
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6fc418
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x53e70c
push ebx
lea eax, [esp + 0x10]
push ebx
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x53e544
mov dword [esp + 0xc], 0x800
mov edx, dword [esp + 0xc]
inc edx
push edx
call fcn.00622acb
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x53e70c
push edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push ebp
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
push 0
lea edx, [esp + 0x54]
mov eax, ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], 0x104
push eax
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x53e702
test eax, eax
jne 0x53e55d
cmp dword [esp + 0x3c], 1
jne 0x53e55d
lea ecx, [esp + 0x28]
lea edx, [esp + 0x44]
push ecx
push 0x6c91b4
push edx
call fcn.0060a0d0
add esp, 0xc
cmp eax, 1
jne 0x53e55d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x53e55d
lea eax, [esp + 0x44]
push 0x20
push eax
call fcn.00609c00
mov edx, eax
add esp, 8
test edx, edx
je 0x53e55d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jb 0x53e55d
mov eax, dword [0x6f7b78]
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x154], 0
call fcn.00622f13
push ebp
lea ecx, [esp + 0x1c]
call fcn.00622f13
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x24], 1
mov dword [esp + 0x20], ecx
je 0x53e687
lea edi, [esi + 0x124]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 8]
lea edx, [esi + 1]
push edx
call fcn.004bf6c0
mov edx, dword [edi + 4]
lea eax, [esp + 0x18]
shl esi, 4
add esi, edx
push eax
mov ecx, esi
call fcn.00622ec3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00622ec3
mov edx, dword [esp + 0x20]
mov dword [esi + 8], edx
mov al, byte [esp + 0x24]
mov byte [esi + 0xc], al
jmp 0x53e6cc
lea edi, [esi + 0x138]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004bf6c0
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
shl esi, 4
add esi, eax
push edx
mov ecx, esi
call fcn.00622ec3
lea eax, [esp + 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.00622ec3
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov dl, byte [esp + 0x24]
mov byte [esi + 0xc], dl
mov eax, 1
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x150], eax
call fcn.00622d8a
lea ecx, [esp + 0x18]
mov dword [esp + 0x150], 0xffffffff
call fcn.00622d8a
mov esi, dword [esp + 0x34]
jmp 0x53e55d
push ebp
call fcn.00622af4
add esp, 4
pop edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 4