Function at 0x544c60
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 0x651891
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7496c8]
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.005f5053
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 [0x74ea5c]
cmp eax, esi
jne 0x544ce1
mov eax, 0x74ea60
push esi
push str.UrlHistory.txt
push eax
push 0x66add0
call fcn.00402320
mov byte [ebp - 0x15], 0
push 0x66b96c
lea ecx, [ebp - 0x14]
call fcn.004030c0
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 0x544e26
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 0x544e26
mov eax, dword [ebp - 0x28]
cmp eax, 1
jbe 0x544e0d
inc eax
push eax
call fcn.005e76b2
mov ebx, eax
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
push 0
push ebx
call fcn.00613900
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 0x544e04
mov byte [ebp - 0x15], 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.00545860
nop
push 0
push 0x7c
lea ecx, [ebp - 0x14]
call fcn.004b1cf0
mov esi, eax
cmp esi, 0xffffffff
jle 0x544e04
test esi, esi
jne 0x544dc4
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004ffe10
jmp 0x544da0
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004f6af0
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.00402570
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [edi + 4]
call fcn.005f5379
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.004ffe10
jmp 0x544da0
push ebx
call fcn.005e76a7
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 0x544f28
cmp dword [edi + 0x20], 0
je 0x544e31
mov eax, dword [edi + 0x20]
jmp 0x544e34
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 0x544e78
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 0x544f9d
mov bl, 6
lea ebx, [ebx]
push 0x400
push 0
lea ecx, [ebp]
push ecx
call fcn.00613900
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 0x544f28
cmp dword [ebp - 0x24], 0
jbe 0x544f28
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403080
nop
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004b1cf0
mov esi, eax
cmp esi, 0xffffffff
jle 0x544f20
lea ecx, [ebp - 0x14]
test esi, esi
jne 0x544ee4
push 1
push eax
call fcn.004ffe10
jmp 0x544ec0
push esi
lea edx, [ebp - 0x30]
push edx
call fcn.004f6af0
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.00402570
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.005f5379
inc esi
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.004ffe10
jmp 0x544ec0
mov esi, dword [ebp - 0x2c]
jmp 0x544e80
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 0x544f89
mov eax, dword [ebp - 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x544f9a
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.00613241
add ebp, 0x404
mov esp, ebp
pop ebp
ret