Function at 0x54d410
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 0x65bfb1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x755898]
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.005feeb3
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 [0x75ac2c]
cmp eax, esi
jne 0x54d491
mov eax, 0x75ac30
push esi
push str.UrlHistory.txt
push eax
push 0x675de0
call fcn.00402320
mov byte [ebp - 0x15], 0
push 0x676974
lea ecx, [ebp - 0x14]
call fcn.004030b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402500
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 0x54d5d6
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 0x54d5d6
mov eax, dword [ebp - 0x28]
cmp eax, 1
jbe 0x54d5bd
inc eax
push eax
call fcn.005f15c2
mov ebx, eax
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
push 0
push ebx
call fcn.0061d9e0
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 0x54d5b4
mov byte [ebp - 0x15], 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0054e080
nop
push 0
push 0x7c
lea ecx, [ebp - 0x14]
call fcn.004b96f0
mov esi, eax
cmp esi, 0xffffffff
jle 0x54d5b4
test esi, esi
jne 0x54d574
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.005073d0
jmp 0x54d550
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004fe090
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.004058f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402570
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [edi + 4]
call fcn.005ff1d9
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.005073d0
jmp 0x54d550
push ebx
call fcn.005f15b7
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 0x54d6d8
cmp dword [edi + 0x20], 0
je 0x54d5e1
mov eax, dword [edi + 0x20]
jmp 0x54d5e4
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 0x54d628
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 1
mov dword [ebp - 4], esi
jmp 0x54d74d
mov bl, 6
lea ebx, [ebx]
push 0x400
push 0
lea ecx, [ebp]
push ecx
call fcn.0061d9e0
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 0x54d6d8
cmp dword [ebp - 0x24], 0
jbe 0x54d6d8
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403070
nop
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004b96f0
mov esi, eax
cmp esi, 0xffffffff
jle 0x54d6d0
lea ecx, [ebp - 0x14]
test esi, esi
jne 0x54d694
push 1
push eax
call fcn.005073d0
jmp 0x54d670
push esi
lea edx, [ebp - 0x30]
push edx
call fcn.004fe090
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x1c]
call fcn.004058f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.005ff1d9
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.005073d0
jmp 0x54d670
mov esi, dword [ebp - 0x2c]
jmp 0x54d630
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 1
jmp 0x54d739
mov eax, dword [ebp - 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x54d74a
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.0061d2ff
add ebp, 0x404
mov esp, ebp
pop ebp
ret