Function at 0x54e500
Capabilities:
Delete registry value
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x65ee81
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [edi], vtable.CUrlHistory.0
push 0xa
lea ecx, [edi + 4]
call fcn.00601e41
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [edi + 0x20]
mov dword [ecx], esi
mov dword [ecx + 8], esi
xor eax, eax
mov word [ecx + 4], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0xffffffff
mov byte [ebp - 4], 2
mov eax, dword [0x75dc38]
cmp eax, esi
jne 0x54e581
mov eax, 0x75dc3c
push esi
push str.UrlHistory.txt
push eax
push 0x678de0
call fcn.00402330
mov byte [ebp - 0x15], 0
push 0x67997c
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
push 0xf003f
push esi
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x54e6c6
lea edx, [ebp - 0x28]
push edx
push esi
push esi
push esi
push str.UrlHistory
mov eax, dword [ebp - 0x20]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x54e6c6
mov eax, dword [ebp - 0x28]
cmp eax, 1
jbe 0x54e6ad
inc eax
push eax
call fcn.005f4522
mov ebx, eax
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
push 0
push ebx
call fcn.00620920
add esp, 0x10
lea edx, [ebp - 0x28]
push edx
push ebx
push 0
push 0
push str.UrlHistory
mov eax, dword [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x54e6a4
mov byte [ebp - 0x15], 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0054f250
nop
push 0
push 0x7c
lea ecx, [ebp - 0x14]
call fcn.004ba840
mov esi, eax
cmp esi, 0xffffffff
jle 0x54e6a4
test esi, esi
jne 0x54e664
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.005083d0
jmp 0x54e640
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004ff440
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405920
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402580
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [edi + 4]
call fcn.00602167
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.005083d0
jmp 0x54e640
push ebx
call fcn.005f4517
add esp, 4
push str.UrlHistory
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp byte [ebp - 0x15], 0
jne 0x54e7c8
cmp dword [edi + 0x20], 0
je 0x54e6d1
mov eax, dword [edi + 0x20]
jmp 0x54e6d4
lea eax, [edi + 0x24]
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, 0xffffffff
jne 0x54e718
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402580
mov byte [ebp - 4], 1
mov dword [ebp - 4], esi
jmp 0x54e83d
mov bl, 6
lea ebx, [ebx]
push 0x400
push 0
lea ecx, [ebp]
push ecx
call fcn.00620920
add esp, 0xc
push 0
lea edx, [ebp - 0x24]
push edx
push 0x3ff
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x54e7c8
cmp dword [ebp - 0x24], 0
jbe 0x54e7c8
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403080
nop
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004ba840
mov esi, eax
cmp esi, 0xffffffff
jle 0x54e7c0
lea ecx, [ebp - 0x14]
test esi, esi
jne 0x54e784
push 1
push eax
call fcn.005083d0
jmp 0x54e760
push esi
lea edx, [ebp - 0x30]
push edx
call fcn.004ff440
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405920
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00402580
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.00602167
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.005083d0
jmp 0x54e760
mov esi, dword [ebp - 0x2c]
jmp 0x54e720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402580
mov dword [ebp - 4], 1
jmp 0x54e829
mov eax, dword [ebp - 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x54e83a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x404
mov esp, ebp
pop ebp
ret