Function at 0x43d8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4dfc
mov eax, dword fs:[0]
push eax
sub esp, 0xb7c
mov eax, dword [0x52cc80]
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, ecx
mov dword [ebp - 0xb78], ebx
mov dword [ebp - 0xb80], 0
mov dword [ebp - 0xb84], ebx
mov dword [ebp - 0xb74], 0
mov dword [ebp - 0xb70], 0
mov dword [ebp - 0xb6c], 0
mov dword [ebp - 4], 1
push 1
push str.SoftwareMozillaMozilla_Firefox
push SysReAllocStringLen
lea ecx, [ebp - 0xb74]
call fcn.00418210
or edi, 0xffffffff
test eax, eax
je 0x43db4d
mov eax, dword [0x531d90]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 9
jne 0x43d9a5
xor esi, esi
call fcn.004aa2d7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc esi
movsd qword [ebp + esi*8 - 0xb68], xmm0
cmp esi, 0x6a
jb 0x43d947
xor ecx, ecx
mov eax, 0x69
cmp ecx, eax
jge 0x43d99f
mov edi, edi
movsd xmm0, qword [ebp + eax*8 - 0xb60]
movsd xmm1, qword [ebp + eax*8 - 0xb68]
comisd xmm0, xmm1
jbe 0x43d99a
movsd qword [ebp + eax*8 - 0xb60], xmm1
movsd qword [ebp + eax*8 - 0xb68], xmm0
dec eax
cmp eax, ecx
jg 0x43d970
inc ecx
cmp ecx, 0x6a
jl 0x43d965
push 1
push str.SoftwareMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xb74]
call fcn.00418210
test eax, eax
je 0x43db4d
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb68], eax
mov byte [ebp - 4], 2
mov eax, str.MozillaMozilla_Firefox
test eax, 0xffff0000
jne 0x43da07
movzx esi, ax
mov ecx, esi
call fcn.00401b90
test eax, eax
je 0x43da17
push esi
push eax
lea ecx, [ebp - 0xb68]
call fcn.00402900
jmp 0x43da17
push str.MozillaMozilla_Firefox
lea ecx, [ebp - 0xb68]
call fcn.00403540
mov byte [ebp - 4], 3
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb64], eax
mov byte [ebp - 4], 4
mov eax, str.SoftwareWow6432Node_
test eax, 0xffff0000
jne 0x43da5e
movzx esi, ax
mov ecx, esi
call fcn.00401b90
test eax, eax
je 0x43da70
push esi
push eax
lea ecx, [ebp - 0xb64]
call fcn.00402900
jmp 0x43da70
push 0x15
push str.SoftwareWow6432Node_
lea ecx, [ebp - 0xb64]
call fcn.00402690
mov byte [ebp - 4], 5
lea eax, [ebp - 0xb68]
push eax
lea edx, [ebp - 0xb64]
lea ecx, [ebp - 0xb7c]
call fcn.0040e9b0
add esp, 4
mov byte [ebp - 4], 6
push 1
push dword [eax]
lea ecx, [ebp - 0xb74]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00418210
mov esi, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb7c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43dacc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43daef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb68]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43db12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x43db4d
mov ecx, ebx
call fcn.0043e0d0
mov dword [ebp - 0xb80], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xb74]
test ecx, ecx
je 0x43db46
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb74], 0
mov eax, ebx
jmp 0x43dd3f
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004aee10
mov eax, dword [0x52c6d8]
add esp, 0xc
mov ecx, 0x52c6d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb64], esi
mov byte [ebp - 4], 0xa
mov eax, 0x5135cc
test eax, 0xffff0000
jne 0x43dbae
movzx edi, ax
mov ecx, edi
call fcn.00401b90
test eax, eax
je 0x43dbc6
push edi
push eax
lea ecx, [ebp - 0xb64]
call fcn.00402900
jmp 0x43dbc0
push 3
push 0x5135cc
lea ecx, [ebp - 0xb64]
call fcn.00402690
mov esi, dword [ebp - 0xb64]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0xb74]
lea eax, [ebp - 0xb68]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xb7c]
push eax
push 0
push str.CurrentVersion
push edi
mov dword [ebp - 0xb68], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dc68
mov eax, dword [ebp - 0xb7c]
cmp eax, 1
je 0x43dc11
cmp eax, 2
jne 0x43dc68
mov eax, dword [ebp - 0xb68]
test eax, eax
je 0x43dc2e
test al, 1
jne 0x43dc68
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x43dc37
jmp 0x43dc68
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dc40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xb64]
call fcn.00402690
mov esi, dword [ebp - 0xb64]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x43dc7d
push edi
call ebx
xor edi, edi
mov dword [ebp - 0xb74], edi
cmp dword [esi - 0xc], 0
mov dword [ebp - 0xb70], 0
je 0x43dcf1
mov ecx, 0x5135cc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43dcba
test dx, dx
je 0x43dcb6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43dcba
add eax, 4
add ecx, 4
test dx, dx
jne 0x43dc94
xor eax, eax
jmp 0x43dcbf
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x43dcf1
add esi, 0xfffffff0
mov ecx, esi
call fcn.004027c0
mov ecx, dword [ebp - 0xb78]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xb80], 1
mov byte [ebp - 4], 1
jmp 0x43dd0d
mov ecx, dword [ebp - 0xb78]
call fcn.0043e0d0
mov dword [ebp - 0xb80], 1
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43dd24
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
test edi, edi
je 0x43dd39
push edi
call ebx
mov dword [ebp - 0xb74], 0
mov eax, dword [ebp - 0xb78]
mov dword [ebp - 0xb70], 0
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.004a992a
mov esp, ebp
pop ebp
ret