Function at 0x45f000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb8ec
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x294], edi
push 0x20019
push str.SoftwareClasses.mobi
mov dword [ebp - 4], edi
call fcn.00433290
push eax
lea ecx, [ebp - 0x29c]
call fcn.00412570
test eax, eax
jne 0x45f06c
call fcn.00433290
xor eax, eax
mov word [ebp - 0x250], ax
mov esi, 7
mov eax, ebx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45f091
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x250]
call fcn.00405660
xor ecx, ecx
push 5
mov word [ebp - 0x234], cx
push str..mobi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], edi
call fcn.00405660
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.00472da0
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004332e0
push eax
call fcn.00433290
push eax
lea ecx, [ebp - 0x290]
push ecx
mov ecx, esi
call fcn.00474c10
mov esi, 8
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x258], esi
jb 0x45f137
mov edx, dword [ebp - 0x26c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], ax
cmp dword [ebp - 0x274], esi
jb 0x45f167
mov ecx, dword [ebp - 0x288]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], dx
cmp dword [ebp - 0x220], esi
jb 0x45f197
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], esi
jb 0x45f1c7
mov edx, dword [ebp - 0x250]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x28c]
cmp eax, 0x80070483
jne 0x45f2ad
push edi
lea eax, [ebp - 0x28c]
push eax
push edi
push 1
push edi
push edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.mobiUserChoice
push 0x80000001
mov dword [ebp - 0x28c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45f218
mov eax, dword [ebp - 0x29c]
cmp eax, edi
je 0x45f211
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45f2d5
lea ecx, [ebp - 0x2a4]
push ecx
mov ecx, dword [ebp - 0x28c]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x2a0]
push eax
push edi
push str.ProgId
push ecx
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x2a4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45f278
mov edx, dword [ebp - 0x28c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [ebp - 0x29c]
cmp eax, edi
je 0x45f274
push eax
call esi
xor eax, eax
jmp 0x45f2d5
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x29c]
cmp eax, edi
je 0x45f2a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
jmp 0x45f2d5
cmp eax, edi
jl 0x45f2c0
cmp dword [ebp - 0x290], edi
je 0x45f2c0
mov esi, 1
jmp 0x45f2c2
xor esi, esi
mov eax, dword [ebp - 0x29c]
cmp eax, edi
je 0x45f2d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 4