Function at 0x43a300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3443
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x660ff8]
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 - 0x80], ebx
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 0x62cfc8
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.0040d8d0
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebx]
push esi
push 0
push 0x116ef
call fcn.0041a290
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a398
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 4], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a941
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
push 0x20019
push edi
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x84], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a8f7
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], edi
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x84], 0x64
push eax
push 0
push str.CurrentVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a8f7
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x43a451
cmp eax, 2
jne 0x43a8f7
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x43a472
test al, 1
jne 0x43a8f7
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43a478
jmp 0x43a8f7
xor eax, eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040d8d0
mov esi, dword [ebp - 0x88]
cmp dword [esi - 0xc], 0
jle 0x43a4bc
push 0x20
push esi
call fcn.005b471c
add esp, 8
test eax, eax
je 0x43a4bc
sub eax, esi
sar eax, 1
js 0x43a4bc
push 0x64
push eax
lea ecx, [ebp - 0x88]
call fcn.0042eb40
mov esi, dword [ebp - 0x88]
lea eax, [esi - 0x10]
push eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x7c], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x78]
call fcn.004375e0
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
push edi
push 0
push 0x1161b
mov ecx, dword [ecx]
call fcn.0041a290
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43a533
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a54d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 0x6356b4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push 0
mov ecx, dword [eax]
push 0x116ef
call fcn.0041a290
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43a5ac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push str.Firefox
lea ecx, [ebp - 0x78]
call fcn.0040d6b0
mov byte [ebp - 4], 5
push dword [eax]
mov eax, dword [ebp - 0x80]
push dword [0x66b6f4]
push 0x116b9
mov ecx, dword [eax]
call fcn.0041a290
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a5f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi - 0x10]
push eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x7c], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 6
mov ebx, dword [0x66b6f4]
lea ecx, [ebp - 0x78]
push eax
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x78]
call fcn.004375e0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push ebx
mov ecx, dword [eax]
push 0x116b8
call fcn.0041a290
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43a671
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a68b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x1177b
call fcn.0041a290
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43a6f0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x6356b4
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x1177e
call fcn.0041a290
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43a755
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x1177c
call fcn.0041a290
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43a7ba
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x11780
call fcn.0041a290
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43a81f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x1177f
call fcn.0041a290
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43a884
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43a937
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
mov edi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
push ebx
push edi
mov ecx, dword [eax]
push 0x1177d
call fcn.0041a290
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a8eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [0x66b6f4]
mov edi, dword [ebp - 0x94]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43a910
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x43a91b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.005b0d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402449
push 0x80004005
call fcn.00402449
int3