Function at 0x4550d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x638
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x455310
push 0x206
lea ecx, [esp + 0x236]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x23c], ax
call fcn.00476ef0
add esp, 0xc
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x206
cmp dword [esp + 0x64c], ebp
je 0x45514c
call fcn.00403a60
cmp dword [eax + 0x118], ebp
je 0x45514c
mov edi, 0x101
mov ebx, 8
cmp dword [esi + 0x28], ebx
jb 0x45515b
mov edx, dword [esi + 0x14]
jmp 0x45515e
lea edx, [esi + 0x14]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040ee60
add esp, 8
test eax, eax
jne 0x4552ec
cmp dword [esi + 0x44], ebx
jb 0x455181
mov eax, dword [esi + 0x30]
jmp 0x455184
lea eax, [esi + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push 0
push eax
push edx
call ebp
test eax, eax
jne 0x4552e8
push 0x206
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00476ef0
add esp, 0xc
cmp dword [esi + 0x7c], ebx
jb 0x4551d0
mov eax, dword [esi + 0x68]
jmp 0x4551d3
lea eax, [esi + 0x68]
lea edx, [esp + 0x230]
push edx
push eax
lea eax, [esp + 0x30]
push str.softwaremozilla_s__s_bin
push eax
mov ecx, 0x104
call fcn.00404a10
add esp, 0x10
test eax, eax
jl 0x4552e8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 8]
push edi
lea edx, [esp + 0x30]
call fcn.0040ee60
add esp, 8
test eax, eax
je 0x455276
push 0x208
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.00476ef0
add esp, 0xc
cmp dword [esi + 0x7c], ebx
jb 0x455232
mov eax, dword [esi + 0x68]
jmp 0x455235
lea eax, [esi + 0x68]
lea ecx, [esp + 0x230]
push ecx
push eax
lea edx, [esp + 0x30]
push str.softwaremozilla_s__s_ESR_bin
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x10
test eax, eax
jl 0x4552e8
mov ecx, dword [esi + 8]
lea eax, [esp + 0x18]
push eax
push edi
lea edx, [esp + 0x30]
call fcn.0040ee60
add esp, 8
test eax, eax
jne 0x4552e8
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x442]
push edx
mov word [esp + 0x444], cx
call fcn.00476ef0
add esp, 0xc
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x206
cmp dword [esi + 0x60], ebx
jb 0x4552b1
mov esi, dword [esi + 0x4c]
jmp 0x4552b4
add esi, 0x4c
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push esi
push eax
call ebp
test eax, eax
jne 0x4552e8
lea ecx, [esp + 0x438]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, edi
test eax, eax
jne 0x4552ec
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x455305
push eax
call esi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x455310
push eax
call esi
mov ecx, dword [esp + 0x644]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x638
ret 4