Function at 0x54ea10
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 0x65f8a1
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.006027f2
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 0x54ea91
mov eax, 0x75dc3c
push esi
push str.UrlHistory.txt
push eax
push 0x678de0
call fcn.00402310
mov byte [ebp - 0x15], 0
push 0x67997c
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004024f0
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 0x54ebd6
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 0x54ebd6
mov eax, dword [ebp - 0x28]
cmp eax, 1
jbe 0x54ebbd
inc eax
push eax
call fcn.005f4e47
mov ebx, eax
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
push 0
push ebx
call fcn.00621270
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 0x54ebb4
mov byte [ebp - 0x15], 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0054f750
nop
push 0
push 0x7c
lea ecx, [ebp - 0x14]
call fcn.004bae50
mov esi, eax
cmp esi, 0xffffffff
jle 0x54ebb4
test esi, esi
jne 0x54eb74
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00508890
jmp 0x54eb50
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004ff900
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402560
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [edi + 4]
call fcn.00602b18
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.00508890
jmp 0x54eb50
push ebx
call fcn.005f4e52
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 0x54ecd8
cmp dword [edi + 0x20], 0
je 0x54ebe1
mov eax, dword [edi + 0x20]
jmp 0x54ebe4
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 0x54ec28
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402560
mov byte [ebp - 4], 1
mov dword [ebp - 4], esi
jmp 0x54ed4d
mov bl, 6
lea ebx, [ebx]
push 0x400
push 0
lea ecx, [ebp]
push ecx
call fcn.00621270
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 0x54ecd8
cmp dword [ebp - 0x24], 0
jbe 0x54ecd8
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403060
nop
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004bae50
mov esi, eax
cmp esi, 0xffffffff
jle 0x54ecd0
lea ecx, [ebp - 0x14]
test esi, esi
jne 0x54ec94
push 1
push eax
call fcn.00508890
jmp 0x54ec70
push esi
lea edx, [ebp - 0x30]
push edx
call fcn.004ff900
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00402560
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.00602b18
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.00508890
jmp 0x54ec70
mov esi, dword [ebp - 0x2c]
jmp 0x54ec30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402560
mov dword [ebp - 4], 1
jmp 0x54ed39
mov eax, dword [ebp - 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x54ed4a
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.00620b8d
add ebp, 0x404
mov esp, ebp
pop ebp
ret